- Add Landing Page
- Add Campgrounds Page that lists all campgrounds
- Each Campground has:
- Name
- Image
- Create our header and footer partials
- Add in Bootstrap
- Setup new campground POST Route
- Add in body-parser
- Setup route to show form
- Add basic unstyle form
- Add a better header/title
- Make campgrounds display in a grid
- Add a navbar to all templates
- Style the new campground form
- Install and configure mongoose
- Setup campground model
- Use campground model inside of our routes!
- Review a restful route we have seen so far
- Add description to our campground model
- Show db.collection.drop()
- Add a show rooute/template
- Create a models directry
- Use module exports
- Require everything correctly
- Add a seeds.js file
- Run the seeds file every time the server starts
- Make our errors go away
- Display comments on the campground page
- Discuss nested route
- Add the comment new and create route
- Add the new comment form
- Add sidebar to show page
- Display comment nicely
- Install all packages needed for auth
- Define user model
- configure Passport
- Add register route
- Add register template
- Add login routes
- Add login templates
- Add logout route
- Prevent User from adding a comment if not signin
- Add links to navbar
- Show hide auth links correctly
- Basically make our app.js simple and smaller so that its easy to understand
- Associate users and comment
- Save author's name to a comment automatically
- Prevent the unauthorised user from creating a campground
- Save username + id to newly created campground