Backend for **CodeFlow**, a LeetCode-style coding platform. Built with Node.js Express PostgreSQL and Prisma ORM. Supports user auth (JWT) personalized problem playlists/sheets problem management and real-time code execution via the Judge0 API.
Here're some of the project's best features:
- 🧠 User authentication (JWT)
- 📝 CRUD APIs for problems
- 🧪 Code submission with result handling
- 🧩 Personalized sheets/playlists
- 📊 Submission and progress tracking
- 🔒 Secure routes with middleware
1. Clone the repo
git clone https://github.com/Maverick341/codeflow-backend.git cd leetlab/backend
2. Install dependencies
npm install
3. Set environment variables
cp .env.example .env
4. Run database migrations
npx prisma migrate dev
5. Start the server
npm run dev
Contributions are welcome — simply fork the repo create a new branch push your changes and open a pull request.
Technologies used in the project:
- Node.js
- Express.js
- PostgreSQL
- Prisma ORM
- Judge0 API
- JWT
- bcryptjs
This project is licensed under the MIT License