A professional, high-performance Coding Practice & Progress Tracker. Designed with a premium Amber & Zinc aesthetic, DevPrep offers a seamless experience for solving DSA problems with an integrated Monaco-powered IDE.
- Frontend: React (Vite), Tailwind CSS, Monaco Editor
- Backend: Node.js, Express
- Database: SQLite (via
sql.js)
Follow these steps to get the project running on your local machine.
git clone https://github.com/Sujas-Aggarwal/devprep.git
cd devprepcd backend
npm install
# Initialize and seed the database
node database/seed.js
# Start the server
npm startThe backend will run on http://localhost:5001.
# Open a new terminal
cd frontend
npm install
# Start the development server
npm run devThe application will be available at http://localhost:5173.
Create a .env file in the backend directory:
PORT=5001
JWT_SECRET=your_super_secret_key
JWT_EXPIRES_IN=7d
DB_PATH=./database/dev.dbCreate a .env file in the frontend directory:
VITE_API_URL=http://localhost:5001/api- Monaco Editor: A VS Code-like editing experience with syntax highlighting and smart indentation.
- Dynamic Starter Code: Every problem starts with the correct function signature automatically.
- Progress Tracking: Real-time stats on solved problems, difficulty distribution, and submission history.
- Dark & Light Mode: A meticulously crafted design system that looks stunning in both themes.