Backend service for the G1 Hackathon (GDG) project.
- Node.js / Express.js (API server)
- MongoDB (database)
- Mongoose (ODM)
- Node.js (LTS recommended)
- npm or yarn
- MongoDB (local or Atlas)
npm installCreate a .env file in the backend root:
PORT=5000
MONGO_URI=mongodb://localhost:27017/your-db
JWT_SECRET=replace_meAdd any other variables required by the project (e.g. CLOUDINARY_URL, EMAIL_HOST, etc.).
npm run devIf there is no dev script, use:
npm startnpm run dev— start in watch mode (nodemon)npm start— start in production modenpm test— run tests (if configured)
- Base URL:
http://localhost:<PORT> - Health check (example):
GET /health
Update this section with real endpoints once finalized.
backend/
src/
routes/
controllers/
models/
middleware/
utils/
.env
package.json
README.md
- Create a feature branch
- Commit your changes
- Open a Pull Request
Add a license if/when the project is ready for open source.