CodeOnTheGo is a Duolingo-style app for learning to code through fun, structured, and competitive practice. Built with Expo and React Native.
Create an account to track your progress, history, and friends.
Practice through:
- Roadmap: Topic-wise path
- Questions: Random/Selected question Includes model solutions, examples, and difficulty levels.
- Keyword-based checks
- AI hints & feedback powered by Google's Gemini AI
- Reveal ideal or similar solutions
Real-time competitive coding with scoring based on accuracy and speed.
Bracket or knockout-style events with leaderboard tracking.
Quick quizzes:
- By topic
- Personalized from past mistakes
- Add friends and view activity
- Global leaderboard for XP and wins
Gamified stats:
- XP, streaks, trophies
- Topic progress, skill map
Manage personal details and notifications.
-
Install dependencies
npm install
-
Start the app
npx expo start
-
Navigate to the backend directory
cd backend -
Install backend dependencies
npm install
-
Create a
.envfile in the backend directory with the following variables:PORT=3000 GEMINI_API_KEY=your_gemini_api_key_here
You can get your Gemini API key from Google AI Studio
-
Start the backend server
npm run dev
-
Verify backend is running
- Health check:
http://localhost:3000/health - Analysis endpoint:
http://localhost:3000/analyze
- Health check:
The backend uses Google's Gemini AI to provide intelligent code analysis and feedback. Make sure the backend is running for the AI features to work.
You can start developing by editing the files inside the app directory. This project uses file-based routing.
When you're ready, run:
npm run reset-projectThis command will move the starter code to the app-example directory and create a blank app directory where you can start developing.
To learn more about developing your project with Expo, look at the following resources:
- Expo documentation: Learn fundamentals, or go into advanced topics with our guides.
- Learn Expo tutorial: Follow a step-by-step tutorial where you'll create a project that runs on Android, iOS, and the web.
Join our community of developers creating universal apps.
- Expo on GitHub: View our open source platform and contribute.
- Discord community: Chat with Expo users and ask questions.