Inspiration
Most developers know exactly what they should be doing — coding every day, reading technical books, staying healthy, avoiding mindless scrolling. The problem is never knowledge. It is consistency.
We were tired of generic habit trackers that were either too simple or completely disconnected from the developer lifestyle. We wanted something that actually understands how a developer thinks — something that feels like a game, holds you genuinely accountable, and makes discipline addictive rather than painful. That frustration became Codexa.
What it does
Codexa is a gamified developer discipline platform. You create daily habits, set a commitment period, and earn XP for completing them. Log a distraction and lose XP — with escalating penalties the longer your distraction streak runs. Everything feeds into a dashboard with streaks, levels, weekly charts, and a leaderboard so you always know exactly where you stand.
The flagship mode is the 75-Day Hard Challenge — 75 consecutive days, all habits completed every single day, zero exceptions. Miss one day and you start over from Day 1.
There is also a built-in interactive Git course with 21 lessons and a real terminal simulator where you type actual git commands and a custom engine validates them in real time. No videos. No passive learning. You type or you do not pass.
How we built it
The frontend is React 19 + TypeScript + Tailwind CSS 4, built with Vite. The backend is Node.js + Express with MongoDB Atlas as the database. Authentication uses JWT for local accounts and Google OAuth 2.0 for social login. The whole thing is deployed on Render with the database on MongoDB Atlas free tier.
The Git course runs on a custom browser-based Git engine written entirely from scratch. It simulates real repository state — commits, branches, HEAD, staging area, stashes, and tags — and validates every command the user types against lesson-specific rules without any server calls.
Challenges we ran into
Building the Git engine was the hardest part. Simulating real Git behavior in the browser with accurate state management for commits, branches, merges, rebases, stashes, and tags required building a complete in-memory repository model from scratch.
The daily reset system was trickier than expected. Habits and distractions both reset at midnight, but getting this right across timezones without a backend scheduler required careful coordination between server-side reset endpoints called on page load and local timezone-aware date comparisons on the client.
Commitment analytics — tracking clean days vs distracted days vs skipped days over a 75-day period without bloating the database schema required adding a date history array directly onto habit documents rather than creating a separate events collection.
Accomplishments that we're proud of
We shipped a fully functional production app with Google OAuth, a working admin panel, an interactive Git course with a real terminal simulator, mobile-responsive design, and a complete analytics dashboard — all built from scratch.
The Git engine in particular is something we are genuinely proud of. It handles git init, git add, git commit, git branch, git switch, git merge, git rebase, git stash, git reset, git restore, git tag, and more — all running entirely in the browser with no server involvement.
The commitment analytics card that visualizes every day of a user's journey as clean, distracted, or skipped turned out better than we expected and is probably the most unique feature in the app.
What we learned
How to architect a gamification system from scratch — XP, levels, streaks, escalating penalties — in a way that feels fair but still holds users accountable.
How to build a browser-based Git engine that accurately simulates repository state without any server calls.
How to handle timezone-aware daily resets at scale without a dedicated scheduler process.
And honestly, how much of a difference good UI polish makes. The dashboard went through several complete redesigns and each iteration taught us something new about how people actually interact with data.
What's next for Codexa
- 💳 Payment-backed commitment deposits — real skin in the game, returned on completion
- 🐍 More developer courses — Python basics, SQL fundamentals, Data Structures & Algorithms
- 👥 Social features — challenge friends, team commitments, shared leaderboards
- 📱 Native mobile app — the discipline tracker that lives in your pocket
- 🤖 AI habit coach — personalized weekly feedback based on your completion patterns
Built With
- claude
- express.js
- google-oauth
- jwt
- lucide-react
- medo
- mongodb
- mongodb-atlas
- mongoose
- node.js
- pnpm
- react
- recharts
- render
- tailwind-css
- typescript
- vite
- wouter


Log in or sign up for Devpost to join the conversation.