An open API service indexing awesome lists of open source software.

https://github.com/ibrsec/pizza-app-backend

Backend of Pizza App
https://github.com/ibrsec/pizza-app-backend

express jwt mongodb swagger token-authetication

Last synced: 2 months ago
JSON representation

Backend of Pizza App

Awesome Lists containing this project

README

          








Logo

Pizza App backend


An awesome Pizza App Backend
Explore the docs ยป




Backend Swagger
ยท
Backend Re-doc
ยท
Report Bug
ยท
Request Feature


๐Ÿ“Ž Table of Contents ๐Ÿ“Ž


  1. About The Project

  2. ERD


  3. Overview

  4. Quick Setup

  5. Directory structure

  6. Built With


---


## โ„น๏ธ About The Project

[![pizza-app-backend](./swagger.png)](https://pizza-app-backend-ruddy.vercel.app/documents/swagger/)


## โ„น๏ธ ERD
[![pizza-app-backend](./src/assets//erd.png)](https://pizza-app-backend-ruddy.vercel.app/documents/swagger/)

(back to top)

---


## ๐Ÿ‘€ Overview

๐ŸŽฏ Express.js Framework: Developed a RESTful API using Express.js to manage pizza orders, user data, and menu functionalities with secure routes and efficient processing.

๐Ÿ“Š Database Management: Utilized MongoDB and Mongoose for data modeling, validation, and querying, supporting complex relationships between pizzas, toppings, orders, and users.

๐Ÿ”„ CRUD Operations: Implemented full CRUD functionality for pizzas, toppings, orders, and users, ensuring secure and seamless data operations for both admins and customers.

๐Ÿ›  Middleware & Error Handling: Integrated custom middleware for authentication, input validation, CORS handling, and error management using express-async-errors.

๐Ÿ” Advanced Features: Added searching, sorting, and pagination capabilities to enhance data retrieval and management in list views for pizzas and orders.

๐Ÿ“œ API Documentation: Employed Swagger and Redoc for comprehensive API documentation, facilitating easy integration and testing.

๐ŸŒ Scalable Deployment: Prepared the application for deployment on platforms like Vercel to ensure scalability and high availability.

(back to top)


## ๐Ÿ›ซ Quick Setup

```sh
# clone the project
git clone https://github.com/ibrsec/pizza-app-backend.git

# enter the project directory
cd pizza-app-backend

# install dependency
npm install

# develop
npm run start
```

(back to top)


## ๐Ÿ“‚ Directory structure

```diff
+ pizza-app-backend (folder)
+ |---src (folder)
| |---configs (folder)
| |
| |---controllers (folder)
| |
| |---middlewares (folder)
| |
| |---helpers (folder)
| |
| |---models (folder)
| |
| โ””---routes (folder)
|
|----.env
|----.gitignore
|----index.js
|----package.json
|----swaggerAutogen.js
|----vercel.json
โ””----readme.md
```

(back to top)

---


### ๐Ÿ—๏ธ Built With














(back to top)