- Understand model relationships in MongoDB
- Understand One-to-Many relationships
- base of project
npm install method-override
- in
server.js
var methodOverride = require('method-override');
// override with POST having ?_method=DELETE
app.use(methodOverride('_method'))
We've already set you up with an API for capturing your favorite embarrassing quotes – Quotes, Inc. We've thrown in a few styles for you, too, but you might have to mimic some class names and templates. Feel free to delete our style and fancy it up on your own.
Your goal will be to switch an Express JSON API to render views. It's up to you to take it from JSON to EJS, and we haven't given you a lot to start with. It'll help you practice installing the tools you need and setting them up from scratch.