A basic backend project built using Node.js, Express.js, and MongoDB. It provides a simple REST API for managing user authentication, restaurants, menus, and food orders.
- ✅ User Signup & Login with JWT Authentication
- ✅ Role-based Access (Admin & User)
- ✅ Add / Update / Delete Food Items (Admin)
- ✅ Place Order, View Orders (User)
- ✅ MongoDB Atlas Integration
- ✅ Protected Routes with Middleware
- ✅ Error Handling & Logging
- Backend: Node.js, Express.js
- Database: MongoDB Atlas
- Auth: JWT (JSON Web Token)
- Other Tools: Postman, dotenv, bcrypt
- Clone the Repository
git clone https://github.com/your-username/food-backend-api.git
cd food-backend-api
npm install
PORT=8000
MONGO_URL=your_mongo_db_uri
JWT_SECRET=your_secret_key
npm run dev
---
🤝 Connect With Me
💼 LinkedIn :- www.linkedin.com/in/aniket2301079
🧑💻 GitHub :- https://github.com/Aniket2301079