Skip to content

Latest commit

Β 

History

History
106 lines (67 loc) Β· 2.19 KB

README.md

File metadata and controls

106 lines (67 loc) Β· 2.19 KB

πŸ”πŸ• Food Delivery Website 🍣🍝

Welcome to the Food Delivery Website where you can order your favorite dishes from a wide selection of restaurants! 🚚🍽️ Whether you're craving pizza, sushi, pasta, or burgers, we've got it all! πŸ™Œ


πŸš€ Project Features

  • Browse Restaurants: View a list of restaurants offering a variety of cuisines.
  • Restaurant Menus: Check out the menu and order food with ease.
  • Place Orders: Select your favorite dishes, choose quantity, and input your address for delivery.
  • Order Confirmation: Get your order details, including the total price and delivery charges.

πŸ“‹ Tech Stack

  • Frontend: Angular 14 πŸ…°οΈ
  • Backend: Node.js, Express πŸ–₯️
  • Database: MongoDB πŸ’Ύ
  • Additional Libraries:
    • Mongoose for MongoDB interaction
    • Cors for cross-origin requests
    • HTTP Client for API calls

βš™οΈ How to Set Up the Project

1. Clone the Repository

git clone https://github.com/Subramanian7986/food-delivery.git
cd food-delivery-website

2. Install Backend Dependencies

cd backend
npm install

3. Set Up the Database

Make sure you have MongoDB running locally. You can use the following command to start the MongoDB server:

mongod

4. Seed the Database with Sample Data

node data/seed.js

5. Start the Backend Server

node index.js

The server will start on http://localhost:3000.

6. Install Frontend Dependencies

cd frontend
npm install

7. Start the Frontend Server

ng serve

The frontend will be available at http://localhost:4200.


πŸ› οΈ API Endpoints

  • GET /api/restaurants - Fetch the list of all restaurants.
  • GET /api/restaurants/:id - Fetch details of a single restaurant.
  • POST /api/orders - Create a new order.

πŸ“œ License

This project is licensed under the MIT License - see the LICENSE file for details.


πŸ“ž Contact

If you have any questions or need assistance with the project, feel free to contact us:


You'll have a blast! 🍴