Skip to content

AniketXcode/Food-App-Backend

Repository files navigation

🍕 Food Delivery Backend API

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.


🚀 Features

  • ✅ 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

🛠️ Tech Stack

  • Backend: Node.js, Express.js
  • Database: MongoDB Atlas
  • Auth: JWT (JSON Web Token)
  • Other Tools: Postman, dotenv, bcrypt


⚙️ Setup Instructions

  1. 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

About

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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors