CodeLeap is an interactive coding practice platform designed to help developers enhance their programming skills through practical challenges. Master coding problems with hands-on experience and improve your problem-solving abilities with expert-led tutorials across multiple programming languages.
- ๐ฏ Interactive Coding Challenges - Solve problems ranging from Easy to Hard difficulty levels
- ๐ Progress Tracking - Monitor your coding journey with detailed statistics and streaks
- ๐ป Multi-Language Support - Practice in JavaScript, Python, Java, and more
- โก Real-time Code Execution - Test your solutions instantly with our online code editor
- ๐ Performance Analytics - Track your success rate, average completion time, and improvement over time
- ๐ Achievement System - Maintain coding streaks and unlock achievements
- ๐ Problem Categories - Organized by topics like algorithms, data structures, mathematics, and more
- ๐พ Solution Bookmarking - Save and revisit your favorite problems
- ๐ฅ Community Features - Share solutions and discuss approaches with other developers
- Node.js (v14 or higher)
- npm or yarn
- Modern web browser
-
Clone the repository
git clone https://github.com/sanketsingh01/CodeLeap cd codeleap -
Backend Setup
cd BACKEND npm install # Set up environment variables cp .env.example .env # Edit .env with your database and API configuration # Set up Prisma database npx prisma generate npx prisma db push npx prisma db seed # Start the backend server npm start # Backend will run on http://localhost:5000
-
Frontend Setup
cd ../FRONTEND npm install # Start the frontend development server npm run dev # Frontend will run on http://localhost:5173
-
Open your browser Navigate to
http://localhost:5173
codeleap/
โโโ FRONTEND/
โ โโโ public/
โ โ โโโ images/
โ โ โโโ favicon.ico
โ โ โโโ index.html
โ โโโ src/
โ โ โโโ assets/
โ โ โ โโโ images/
โ โ โ โโโ icons/
โ โ โ โโโ styles/
โ โ โโโ components/
โ โ โ โโโ common/
โ โ โ โโโ CodeEditor/
โ โ โ โโโ ProblemList/
โ โ โ โโโ UserProfile/
โ โ โ โโโ UI/
โ โ โโโ layout/
| | | โโโ Layout.jsx
โ โ โโโ pages/
โ โ โ โโโ Profile/
โ โ โ โโโ Problems/
โ โ โ โโโ Profile/
โ โ โ โโโ Auth/
โ โ โ โโโ Landing/
โ โ โโโ hooks/
โ โ โโโ utils/
โ โ โโโ App.js
โ | โโโ package.json
โ โโโ README.md
โโโ BACKEND/
โ โโโ src/
โ โ โโโ models/
โ โ โ โโโ auth.js
โ โ โ โโโ Problem.js
โ โ โ โโโ Submissions.js
โ โ โโโ assets
โ โ โโโ controllers/
โ โ โ โโโ authController.js
โ โ โ โโโ problemController.js
โ โ โ โโโ userController.js
โ โ โโโ middlewares/
โ โ โ โโโ auth.js
โ โ โ โโโ validation.js
โ โ โโโ routes/
โ โ โ โโโ auth.js
โ โ โ โโโ problems.js
โ โ โ โโโ users.js
โ โ โโโ utils/
โ โ โ โโโ database.js
โ โ โ โโโ constants.js
โ โ โโโ validators/
โ โ โโโ authValidator.js
โ โ โโโ problemValidator.js
โ โ โโโ userValidator.js
โ โโโ prisma/
โ โ โโโ schema.prisma
โ โ โโโ migrations/
โ โ โโโ seed.js
โ โโโ index.js
โ โโโ package.json
โ โโโ .env.example
โโโ .gitignore
โโโ docker-compose.yml
โโโ README.md
- Create an Account - Sign up to track your progress
- Start with Easy Problems - Begin with fundamental coding challenges
- Use the Code Editor - Write your solution in the integrated editor
- Test Your Code - Run test cases to verify your solution
- Submit and Learn - Submit your solution and review explanations
- Filter by Difficulty - Challenge yourself with Medium and Hard problems
- Track Your Streaks - Maintain daily coding practice
- Explore Different Languages - Switch between JavaScript, Python, and Java
- Analyze Performance - Review your success rate and improvement metrics
- Create Custom Sheets - Organize problems into personalized study lists
- Progress Overview: Visual representation of solved problems (1 of 22 completed)
- Difficulty Breakdown: Track Easy, Medium, and Hard problem completion
- Statistics Panel:
- Languages practiced
- Average completion time
- Total submissions
- Success rate
- Streak Tracking: Current streak and best streak
- Language Proficiency: JavaScript, Python, Java support
- React.js - User interface framework
- Tailwind CSS - Styling and responsive design
- Monaco Editor - Code editing experience
- React Router - Navigation and routing
- Axios - API communication
- Node.js - Server runtime
- Express.js - Web application framework
- Prisma - Database ORM and query builder
- PostgreSQL/MySQL - Database (configurable via Prisma)
- JWT - Authentication and authorization
- bcryptjs - Password hashing
- express-validator - Input validation
- cors - Cross-origin resource sharing
- dotenv - Environment variable management
- Webpack - Module bundling
- Babel - JavaScript compilation
- ESLint - Code linting
- Prettier - Code formatting
- Jest - Testing framework
npm run build
# or
yarn buildnpm install -g vercel
vercel --prod- Connect your GitHub repository to Netlify
- Set build command:
npm run build - Set publish directory:
build - Deploy automatically on push to main branch
We welcome contributions from the community! Here's how you can help:
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
- Follow the existing code style
- Write meaningful commit messages
- Add tests for new features
- Update documentation as needed
- Ensure all tests pass before submitting
POST /api/v1/v1/auth/register- User registrationPOST /api/v1/v1/auth/login- User loginPOST /api/v1/auth/logout- User logout
GET /api/v1/problems- Fetch all problemsGET /api/v1/problems/:id- Get specific problemPOST /api/v1/problems/:id/submit- Submit solution
GET /api/v1/user/profile- Get user profilePUT /api/v1/user/checkAuth- checks the authenticated user
- Code editor occasionally loses focus on mobile devices
- Performance optimization needed for large problem sets
- Pricing page is in development
- Advanced code debugging tools
- Video solution explanations
- Mobile app development
- Social coding features
- AI-powered hint system
- Contest mode
- Team challenges
- Advanced analytics dashboard
If you encounter any issues or have questions:
- Email: support@codeleap.com
- GitHub Issues: Create an issue
- Discord: Join our community
- Documentation: Visit our docs
This project is licensed under the MIT License - see the LICENSE file for details.
- Thanks to all contributors who have helped shape CodeLeap
- Inspired by popular coding platforms like LeetCode and HackerRank
- Special thanks to the open-source community for tools and libraries
- Active Users: 10+
- Problems Available: 20+
- Solutions Submitted:
- Languages Supported: 3
