Please visit click here
Clone
git clone https://github.com/RevoU-FSSE-2/week-11-enkod-id.git
Windows:
import database
text editor:
open visual studio code drag source code to text editor & open terminal
run:
nodemon app.js
postman -> get all data blog
localhost:3000
postman -> get data blog by id
localhost:3000/blog/1
postman -> create blog by user login
localhost:3000/blog/create
postman -> Update blog by id
localhost:3000/blog/update/1
postman -> Delete blog by id
localhost:3000/blog/Delete/1
postman -> Register
localhost:3000/blog/Delete/1
postman -> Login
localhost:3000/blog/Delete/1
** Open browser
localhost:3000/api-docs
thank you