moiseshilario / delivery-app-back

🍕 API for a food delivery app
36 stars 21 forks source link
jwt-authentication multer nodejs sequelize

Delivery App Back

API for a food delivery app built with node.js

Connected Projects

Setup

yarn

or

npm i

Migrations

Run the migrations to create the database, tables and columns

npx sequelize db:migrate

To undo the migrations:

npx sequelize db:migrate:undo:all

Seeds

Run the seeds to populate data on database

npx sequelize db:seed:all

To undo the seeds:

npx sequelize db:seed:undo:all

Running

yarn start

or

npm run start

API Routes

Please import Delivery-App-Insomnia.json into Insomnia App to check out/use api routes/payloads

Database Diagram

Check out the database diagram, with its schema and its relations on https://app.quickdatabasediagrams.com/#/d/xk3MBE

Stack