Acebook API is web service created using the Express framework and Mongoose.
- Fork this repo to the account of one team member
- Add the other team members as collaborators and clone it to each machine
- Do
brew install npm
to get Node Package Manager cd
into the directory for this project and donpm install
to install all the dependencies listed inpackage.json
- Do
node app.js
to fire up the app! - Go to
localhost:1234/posts/test
to confirm that the application is running correctly - Sign up for the free tier of MongoDB Atlas
- Create a new cluster on the free tier by following the prompts
- When set up is complete, connect your application to the cluster by clicking on
connect
and following the prompts - Use Postman to create new posts using
post
requests - Use Postman to read entries from the DB using
get
requests
- I can understand how data is sent from Postman and returned from the server
- I understand how data is sent from the server to the DB and back
- I can add tests which cover the existing endpoints
- I can TDD a new endpoint that lists all posts
- I can adapt the application to use Pug templates