Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/leonardomenezes7/food_explorer_api
Restaurant API
https://github.com/leonardomenezes7/food_explorer_api
api bcrypt database expressjs jwt nodejs sqlite
Last synced: 22 days ago
JSON representation
Restaurant API
- Host: GitHub
- URL: https://github.com/leonardomenezes7/food_explorer_api
- Owner: leonardomenezes7
- Created: 2024-04-15T08:09:40.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-05-14T00:58:14.000Z (9 months ago)
- Last Synced: 2024-12-03T22:12:44.718Z (3 months ago)
- Topics: api, bcrypt, database, expressjs, jwt, nodejs, sqlite
- Language: JavaScript
- Homepage:
- Size: 3.34 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Food Explorer API📁
The API developed in Node.js offers a robust and flexible solution for efficiently managing users, administrators, and the restaurant's menu. With features including user and administrator registration, along with the ability to create, edit, associate ingredients with, and delete dishes, as well as support for uploading images for the dishes, this API provides a comprehensive experience for restaurant management. Additionally, users authenticate using JWT tokens for enhanced security.
[Front-end repository](https://github.com/leonardomenezes7/foodexplorer_frontend)
## Structure🧱
## Features🔑
- Registration of new users and admins with basic information such as username, email, password (encrypted).
- Generation of JWT tokens to authenticate users during API requests.
- Protection of sensitive routes and operations, requiring valid authentication by JWT token.
- The API architecture is developed using Node.js, leveraging frameworks such as Express.js for routing and middleware control, and JWT for user authentication. Data is stored in a SQLite , to ensure persistence and scalability.
- Admins can create dishes, update and delete.
- Ingredients related with dishes
- Dishes image upload## Technologies Used💻
- Node.js
- SQLite
- Express.js
- JWT
- knex.js
- bcrypt
- Multer
- cors## Database Structure💾
### Developed by Leonardo Menezes