Youngmenu Backend is an Express-based backend for the complete restaurant management application.
- API for restaurant management
- Authentication and authorization
- CRUD operations for stores, menus, and orders
- Node.js (v14.x or later)
- npm (v6.x or later) or yarn (v1.22.x or later)
- MongoDB (v4.x or later)
-
Clone the repository
git clone https://github.com/syamjayaraj/youngmenu-backend.git cd youngmenu-backend
-
Install dependencies
npm install # or yarn install
-
Set up environment variables Copy the .env.example file to .env:
cp .env.example .env
Please make sure to include your MONGO_URI in the file :
MONGO_URI=your_mongodb_connection_string JWT_SECRET=your_secret_key PORT=your_port
Note: You need to create a MongoDB account and set up a cluster. Follow the instructions here here to get your MONGO_URI.
-
Start the server
npm start # or yarn start
-
The server will be running on
http://localhost:3020
as default
Contributions are welcome! Please open an issue or submit a pull request.
This project is open-source and available under the MIT License.