🚀 MERN Delivery Starter – A Node.js, Express, and MongoDB-based API for managing restaurant orders, delivery notes, and delivery lists. This serves as a foundational template for any MERN-based delivery application.
- 📦 Order Management – Accept, update, and track restaurant orders.
- 🚚 Delivery Notes – Attach special instructions for deliveries.
- 📋 Delivery List – Manage assigned deliveries and status updates.
- 🔌 RESTful API – Well-structured endpoints for easy frontend integration.
- 🛠 Mongoose ODM – Simplified MongoDB interactions.
- 📜 Modular Codebase – Ready for customization and expansion.
# Clone the repository
git clone https://github.com/yourusername/mern-delivery-starter.git
# Navigate to the project folder
cd mern-delivery-starter
# Install dependencies
npm install
# Set up environment variables
cp .env.example .env
# Update .env with your MongoDB URI and other configurations
# Start the server
npm run dev
POST /api/orders
– Create a new order.GET /api/orders
– Retrieve all orders.GET /api/orders/:id
– Get order details by ID.PUT /api/orders/:id
– Update an order.DELETE /api/orders/:id
– Delete an order.
POST /api/delivery
– Add delivery with note notes.GET /api/delivery
– Get all delivery with notes.
GET /api/deliveries
– View all deliveries.PUT /api/deliveries/:id
– Update delivery status.
- Backend: Node.js, Express.js
- Database: MongoDB, Mongoose
- Auth (Optional): JWT Authentication
- Dev Tools: Nodemon, dotenv, Prettier
Feel free to fork and contribute! Open an issue or submit a PR to enhance the project.
MIT License