This API is made to facilitate the management of a restaurant. For this purpose it has three entities users, products and orders with the necessary CRUD operations.
- Node.js
- Express.js
- Dotenv
- Swagger
- JWT
- Mysql
- Mocha
- Bcrypt
- Helmet
- Redis
git clone https://github.com/Daniel-VS9/Deliah-resto-API.git
npm install
Configure MySQL database (you can use attached deliahDB.sql file)
Be sure you have redis installed on your machine
npm run start
or
npm run dev
To start the test routine run
npm run test
You can see this project running here
Documentation can be accessed at http://localhost:3000/api-docs
Credentials:
Pass | |
---|---|
[email protected] | 1234 |
[email protected] | 1234 |
* Login in swagger documentation with email and pass