Recently I spent hours debugging an issue where my frontend and backend REFUSED to communicate after deployment π€
So my app decided to live its own lifeβ¦
-Backend moved from Railway β‘οΈ Render
-Frontend still trying to talk to Railway
- Result: CORS errors, broken login, and only my test account working
Turns out the problems were: Old build cache still pointing to Railway ,Wrong API base URL in Vercel and CORS not allowing my Vercel domain also
App accidentally using TEST database in production π΅
π Fixes:
Cleared build cache & redeployed
Updated VITE_API_BASE_URL to Render
Proper CORS config added
Separated test & production DBs
So π
Always double-check your env variables
CORS is not your enemy, just misunderstood
Cache remembers your ex⦠forever
Developer life: 1 bug fixed, 5 new ones unlocked ππ
Hope this helps someone stuck in the same rabbit hole π°π»π₯
So my app decided to live its own lifeβ¦
-Backend moved from Railway β‘οΈ Render
-Frontend still trying to talk to Railway
- Result: CORS errors, broken login, and only my test account working
Turns out the problems were: Old build cache still pointing to Railway ,Wrong API base URL in Vercel and CORS not allowing my Vercel domain also
App accidentally using TEST database in production π΅
π Fixes:
Cleared build cache & redeployed
Updated VITE_API_BASE_URL to Render
Proper CORS config added
Separated test & production DBs
So π
Always double-check your env variables
CORS is not your enemy, just misunderstood
Cache remembers your ex⦠forever
Developer life: 1 bug fixed, 5 new ones unlocked ππ
Hope this helps someone stuck in the same rabbit hole π°π»π₯
Forwarded from Sapphire Builds.
ππππππthese testimonials made my night
Forwarded from Dagmawi Babi
Introducing Enkokilish Bench
β’ github.com/dagmawibabi/enkokilish_bench
This is a new benchmark for LLMs focused on evaluating an LLMs ability to understand, reason and solve Amharic riddles.
I used Evalite as the evals framework, AI SDK to make API calls to LLMs and used Vercel AI Gateway as a provider.
All the riddles and their answers are listed in
For the quickest setup, clone the repo, set your AI Gateway API Key in the
You can run the evals in node mode which enables you to export the results in JSON format, or run the evals in a CI/CD pipeline.
Oh and quick tip, I've organized and arranged it all in a way that you can rename and create any other benchmark of your choice just by changing the dataset and eval title.
If you've got a few Enkokilish you know, please contribute in the GitHub. Thanks β€οΈ
#MyProjects #EnkokilishBench
@Dagmawi_Babi
β’ github.com/dagmawibabi/enkokilish_bench
This is a new benchmark for LLMs focused on evaluating an LLMs ability to understand, reason and solve Amharic riddles.
I used Evalite as the evals framework, AI SDK to make API calls to LLMs and used Vercel AI Gateway as a provider.
All the riddles and their answers are listed in
datasets/enkokilsh.ts file and will keep on being updated.For the quickest setup, clone the repo, set your AI Gateway API Key in the
.env file and just pnpm eval:dev then open localhost:3006 and explore.You can run the evals in node mode which enables you to export the results in JSON format, or run the evals in a CI/CD pipeline.
Oh and quick tip, I've organized and arranged it all in a way that you can rename and create any other benchmark of your choice just by changing the dataset and eval title.
If you've got a few Enkokilish you know, please contribute in the GitHub. Thanks β€οΈ
#MyProjects #EnkokilishBench
@Dagmawi_Babi
β€2π₯1π1
π TanStack β The Modern Web Toolkit You Should Know
TanStack is a collection of high-performance, TypeScript-first libraries designed to make front-end and full-stack development faster, cleaner, and more scalable. Itβs quickly becoming a favorite among modern engineers for its flexibility and production-ready design.
πΈ What TanStack Includes
β’ TanStack Query β Smart server-state management with caching, refetching, and mutations built-in.
β’ TanStack Router β A type-safe, modern router with loaders, nested layouts, and great DX.
β’ TanStack Table β A powerful headless table engine for building custom UI tables.
β’ TanStack Virtual β Ultra-fast virtualization for long lists and large datasets.
β’ TanStack Store β A lightweight, fine-grained state management library.
β’ TanStack Start β An upcoming full-stack framework built on TanStack Router.
πΈ Why Developers Love It
Fully TypeScript-aligned
Framework-agnostic design
High performance
Clean APIs and minimal boilerplate
Perfect for both small apps and enterprise projects
βοΈ In Short
TanStack offers a modern, reliable toolkit that solves complex UI challenges with simple, maintainable solutions β making it one of the strongest ecosystems for building todayβs web applications.
t.me/code_journall
TanStack is a collection of high-performance, TypeScript-first libraries designed to make front-end and full-stack development faster, cleaner, and more scalable. Itβs quickly becoming a favorite among modern engineers for its flexibility and production-ready design.
πΈ What TanStack Includes
β’ TanStack Query β Smart server-state management with caching, refetching, and mutations built-in.
β’ TanStack Router β A type-safe, modern router with loaders, nested layouts, and great DX.
β’ TanStack Table β A powerful headless table engine for building custom UI tables.
β’ TanStack Virtual β Ultra-fast virtualization for long lists and large datasets.
β’ TanStack Store β A lightweight, fine-grained state management library.
β’ TanStack Start β An upcoming full-stack framework built on TanStack Router.
πΈ Why Developers Love It
Fully TypeScript-aligned
Framework-agnostic design
High performance
Clean APIs and minimal boilerplate
Perfect for both small apps and enterprise projects
βοΈ In Short
TanStack offers a modern, reliable toolkit that solves complex UI challenges with simple, maintainable solutions β making it one of the strongest ecosystems for building todayβs web applications.
t.me/code_journall
β€1
Recursive Functions β The Cleanest Way to Solve Repeating Problems
A recursive function is simply a function that calls itself until it reaches a stopping point.
Perfect for tasks like factorials, tree traversal, search, and breaking problems into smaller chunks.
β‘οΈ Simple Example
function factorial(n) {
if (n === 1) return 1; // base case
return n * factorial(n - 1); // recursive call
}
console.log(factorial(5)); // 120
π‘ Why use recursion?
Cleaner logic
Reduces complex loops
Mirrors how many problems naturally break down
for more info π https://t.me/code_journall
A recursive function is simply a function that calls itself until it reaches a stopping point.
Perfect for tasks like factorials, tree traversal, search, and breaking problems into smaller chunks.
β‘οΈ Simple Example
function factorial(n) {
if (n === 1) return 1; // base case
return n * factorial(n - 1); // recursive call
}
console.log(factorial(5)); // 120
π‘ Why use recursion?
Cleaner logic
Reduces complex loops
Mirrors how many problems naturally break down
for more info π https://t.me/code_journall
βοΈ For University Students
You can get amazing offers such as:
βΆοΈ A free domain name
βΆοΈ GitHub Pro
βΆοΈ Hosting on DigitalOcean
βΆοΈAccess to databases
βΆοΈ Notion
βΆοΈ Microsoft Azure
βΆοΈ Heroku
βΆοΈ Free courses and more
Make sure to check the offer before you apply, and carefully read the requirements.
π GitHub Student Developer Pack
#UniversityStudents #StudentDeals #GitHubStudentPack #FreeResources
If you're a university student, check out this opportunity!
You can get amazing offers such as:
βΆοΈ A free domain name
βΆοΈ GitHub Pro
βΆοΈ Hosting on DigitalOcean
βΆοΈAccess to databases
βΆοΈ Notion
βΆοΈ Microsoft Azure
βΆοΈ Heroku
βΆοΈ Free courses and more
Make sure to check the offer before you apply, and carefully read the requirements.
π GitHub Student Developer Pack
#UniversityStudents #StudentDeals #GitHubStudentPack #FreeResources
GitHub Education
GitHub Student Developer Pack
The best developer tools, free for students. Get your GitHub Student Developer Pack now.
Forwarded from HUCISA - Haramaya University Computing and Informatics Students' Association (Amir Ahmed)
βοΈ CTRL + API β Discover the Power of M-PESAβs Open API
π’ Weβre excited to invite you to an exclusive in-person developer session at Haramaya University! This session is your chance to explore new possibilities in mobile money and fintech
π Thursday, December 11
β° 2:30 β 6:00 LT
π‘ What Youβll Learn:
πΉ How to access and navigate the M-PESA Developer Portal
πΉ How to integrate M-PESA APIs to build digital platforms, create payment solutions, and transform ideas into viable startups or self-employment projects
πΉ Step-by-step guidance: account setup, documentation, sandbox testing
π― Session Agenda:
πΈ Introduction to the Mobile Money Ecosystem
πΈ Overview of M-PESA APIs
πΈ Live demo on accessing and testing Open APIs - Best practices for integrating M-PESA into student-built platforms
πΈ Q&A and networking with M-PESA teams
π Start Exploring Today Sign up on the M-PESA Developer Portal:-
https://developer.safaricom.et/login
π RSVP to Secure Your Spot:-
https://forms.office.com/r/ErkDqAbCnt
π’ Weβre excited to invite you to an exclusive in-person developer session at Haramaya University! This session is your chance to explore new possibilities in mobile money and fintech
π Thursday, December 11
β° 2:30 β 6:00 LT
π‘ What Youβll Learn:
πΉ How to access and navigate the M-PESA Developer Portal
πΉ How to integrate M-PESA APIs to build digital platforms, create payment solutions, and transform ideas into viable startups or self-employment projects
πΉ Step-by-step guidance: account setup, documentation, sandbox testing
π― Session Agenda:
πΈ Introduction to the Mobile Money Ecosystem
πΈ Overview of M-PESA APIs
πΈ Live demo on accessing and testing Open APIs - Best practices for integrating M-PESA into student-built platforms
πΈ Q&A and networking with M-PESA teams
π Start Exploring Today Sign up on the M-PESA Developer Portal:-
https://developer.safaricom.et/login
π RSVP to Secure Your Spot:-
https://forms.office.com/r/ErkDqAbCnt
Attended demo day of project hackathon , that was incredible experience , all participants were present on focus , i hope there will be many of these event in this Uni !
https://t.me/code_journall
https://t.me/code_journall
β€1π1