Express
Setup Grapqh
-
Clone this repo to your computer
-
install all dependencies
npm install
-
copy the .envexample and input it with database credentials
-
create database
npx sequelize-cli db:create
-
migrate table on your database
npx sequelize db:migrate
-
data dummy on your table
npx sequelize-cli db:seed:all
edit seed file in seeders folder -
hot reload
npm run dev
-
node
npm start
-
upload photo users endpoint
localhost:3000/upload/:id/photo
-
upload file todos endpoint
localhost:3000/upload/:id/attachment