- Adding Landing Page
- Add Campground Pages that list all campground
- Name
- Image
- Add header and footer partials
- add in Bootstrap
- Setup new campground POST route
- Add in body-parser
- Setup route to show form
- Add basic un styled form
- Add a better header/title
- Make campgrounds display in grid
- Install and Configure Mongoose
- Setup campground model
- Use campground model inside of our routes!
- Review the RESTful routes we've seen so far
- Add description to our campground model
- Show db.collection.drop()
- Add show route/template
Name | URL | verb | Description |
---|---|---|---|
INDEX | /campgrounds | GET | Display a list of all campground |
NEW | /campgrounds/new | GET | Display form to make a new campground |
CREATE | /campgrounds | POST | Parse post request and update database |
SHOW | /campground/:id | GET | Show info about one dog |
- Define REST and explain why it matters
- List all 7 RESTful routes
- Show example of RESTful routing in practise