A REST API to provide delivery food services, managing CRUD products and orders usign Node.js, MySQL, Swagger and JavaScript.
Sure, take a look over here to my Swaggerhub.
You need to make sure you have a web server running, the easiest way to achieve this is with XAMPP otherwise this project isn't going to work in your local.
git clone https://github.com/Addin/Delilah-Resto.git
Run the following command, make sure you are in the root folder.
If you are using NPM
npm install
If you are using Yarn
yarn install
You need to edit the file sequelize.js and change the data there to match your config, remember the structure (mysql://user:password@host:port/database), then export the file/script delilah.sql in your database manager, I recommend you to use HeidiSQL.
Make sure you are in the root of the folder, then simply run
npm start
and let the magic begin!
Open a Issue or help me with a pull request
- Use bcrypt for passwords
- Make the front-end for consuming the back-end
- Make the endpoint for logout