Skip to content

Backend for Code Flow, 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.

License

Notifications You must be signed in to change notification settings

Maverick341/codeflow-backend

Repository files navigation

CodeFlow Backend

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.

project-image

🧐 Features

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

🛠️ Installation Steps:

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

🍰 Contribution Guidelines:

Contributions are welcome — simply fork the repo create a new branch push your changes and open a pull request.

💻 Built with

Technologies used in the project:

  • Node.js
  • Express.js
  • PostgreSQL
  • Prisma ORM
  • Judge0 API
  • JWT
  • bcryptjs

🛡️ License:

This project is licensed under the MIT License

About

Backend for Code Flow, 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.

Topics

Resources

License

Stars

Watchers

Forks