Monorepo for an education platform with:
- backend/: Node.js/Express REST API (TypeScript, MongoDB)
- frontend/: React app (TypeScript, Create React App, Tailwind CSS)
backend/controllers/,models/,routes/,middlewares/,config/: API logic, data models, endpoints, middleware, and service configsfrontend/src/pages/: Main React pages/components
- Install dependencies
cd backend && npm installcd ../frontend && npm install
- Start backend
cd backend && npm start(orts-node server.ts)
- Start frontend
cd frontend && npm start
- Run tests
- Backend:
cd backend && npm test - Frontend:
cd frontend && npm test
- Backend:
Redis must be running locally for the backend to work.
Install and start Redis:
- On macOS:
brew install redis && brew services start redis - On Linux:
sudo apt-get install redis-server && sudo service redis-server start - On Windows:
choco install redis-64then runredis-serverfrom the Start menu or command line
Default config works for local development. The backend connects to localhost:6379 by default.
- Backend uses MongoDB, Cloudinary, Firebase, and Resend (see
backend/config/) - For more details, see
.github/copilot-instructions.mdandfrontend/README.md