- Install and wire up the
morgan
logger - Install and wire up the
cors
middleware - Create and wire up the UserRouter
- GET /users
- GET /users/:userId
- POST /users
- PUT /users/:userId
- DELETE /users/:userId
- Create and wire up the PostRouter
- GET /posts
- GET /posts/:postId
- POST /posts
- PUT /posts/:postId
- DELETE /posts/:postId
- Create an mLab account
- Download and install Mongo Compass
- Wire up our API to a Mongo Instance using Mongoose
- Download and install POSTMAN
- Create the User Model
- Create the Post Model
- ...more..
katerynabond / blog-api Goto Github PK
View Code? Open in Web Editor NEWThis project forked from amalekan/blog-api