Skip to content

Backend for restaurant management system using Node.js, Express.js, MySQL, JWT, and Sequelize ORM.

Notifications You must be signed in to change notification settings

Addin/Delilah-Resto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Delilah-Resto

A REST API to provide delivery food services, managing CRUD products and orders usign Node.js, MySQL, Swagger and JavaScript.

What I use to build this?

I want to know more about this API!

Sure, take a look over here to my Swaggerhub.

I want to run it locally!

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.

Clone the repository:

git clone https://github.com/Addin/Delilah-Resto.git

Install the required dependencies

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

Setup the database

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.

Run the server!

Make sure you are in the root of the folder, then simply run

npm start

and let the magic begin!

Want to contribute?

Open a Issue or help me with a pull request

TODOS

  • Use bcrypt for passwords
  • Make the front-end for consuming the back-end
  • Make the endpoint for logout

About

Backend for restaurant management system using Node.js, Express.js, MySQL, JWT, and Sequelize ORM.

Resources

Stars

Watchers

Forks