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 npmto get Node Package Manager cdinto the directory for this project and donpm installto install all the dependencies listed inpackage.json- Do
node app.jsto fire up the app! - Go to
localhost:1234/posts/testto 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
connectand following the prompts - Use Postman to create new posts using
postrequests - Use Postman to read entries from the DB using
getrequests
- 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