https://github.com/iam-abin/restaurant
Food Ordering App: 🍔🥗 Order delicious meals from multiple restaurants seamlessly! 🍕🍗 Explore your favorite cuisines and experience the joy of great food! 🍨
https://github.com/iam-abin/restaurant
dependency-injection docker docker-compose expressjs food-ordering-application husky jest jwt-authentication mern-stack-docker-compose mern-stack-food-ordering-app mern-stack-restaurant-app mongodb mongoose nodejs reactjs restaurant-app stripe stripe-webhook tsyringe typescript
Last synced: about 2 months ago
JSON representation
Food Ordering App: 🍔🥗 Order delicious meals from multiple restaurants seamlessly! 🍕🍗 Explore your favorite cuisines and experience the joy of great food! 🍨
- Host: GitHub
- URL: https://github.com/iam-abin/restaurant
- Owner: iam-abin
- License: mit
- Created: 2024-11-05T02:38:19.000Z (7 months ago)
- Default Branch: master
- Last Pushed: 2025-03-09T09:54:04.000Z (3 months ago)
- Last Synced: 2025-03-28T23:11:17.031Z (2 months ago)
- Topics: dependency-injection, docker, docker-compose, expressjs, food-ordering-application, husky, jest, jwt-authentication, mern-stack-docker-compose, mern-stack-food-ordering-app, mern-stack-restaurant-app, mongodb, mongoose, nodejs, reactjs, restaurant-app, stripe, stripe-webhook, tsyringe, typescript
- Language: TypeScript
- Homepage: https://restaurant-2025.vercel.app
- Size: 31 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Restaurant
It is a Restaurant application where users can order food from different restaurants.
### prerequsties
- Vscode
- Nodejs v20.16.0+
- Mongodb
- Stripe CLI // Necessary only for development environment## Installation
1. Clone the repository:
```
git clone https://github.com/iam-abin/Restaurant.git
```2. Navigate to the project directory:
```
cd Restaurant
```3. Install the dependencies:
- Install all dependencies from root directory
```
npm run install-all
```***or***
- Install dependencies seperatelyInstall some dev dependencies in the root directory,
```
npm install
``````
cd backend
```
```
npm install
```
- open another tab in vscode terminal and run
```
cd frontend
```
```
npm install
```4. Setup stripe
- Install stripe cli in local system (refer stripe website's webhook section)
- Login to stripe cli in local system5. Set up the required environment variables.
- In the frontend folder create `.env` file and setup variables using `.env.example` file.
- In the backend folder create `.env.development`, `.env.production`, `.env.test` files based on need and setup variables using `.env.example` file.6. Start server (Running the app):
- We can run all the start command from root directory using
```
npm run dev
```
***or***
- In both frontend and backend terminal tabs, run```
npm run dev
```
- Run stript webhook (for payment confirmation) in backend terminal```
npm run stripe
```7. Access the application from browser using:
***For user***
```
http://localhost:5000
```
***For restaurant***
```
http://localhost:5000/auth/restaurant
```***For admin***
```
http://localhost:5000/auth/admin
```# Images




### Docker compose
---### prerequsties
1. docker
2. docker componse
3. makefile- For docker compose commands check [Makefile](Makefile)
***or***
- Run the following command in the root directory of project
```
make
```## License
This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details.