- 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 unstyled form
- Add a better header/title
- Style the new campground form
- 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 the RESTful routes we've seen so far
- Add discription to our campground model
- Show db.collection.drop()
- Add a show route/template
name | url | verb | desc. |
---|---|---|---|
INDEX | /dogs | GET | Display a list of all dog |
NEW | /dogs/new | GET | Displays form to make a new dog |
CREATE | /dogs | POST | Add new dog to DB |
SHOW | /dogs/:id | GET | Shows info about one dog |
- Create a models directory
- 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 campground show page
- Discuss nested routes
- Add the comment new and create routes
- Add the new comment form
- Add sidebar to show page
- Display comments nicely
- Add public directory
- Add custom stylesheets
- Install all packages needed for auth
- Define User model
- Configure Passport
- Add register routes
- Add register template
- Add login routes
- Add login templates
- Add logout route
- Prevent user from adding a comment if not signed in
- Add links to navbar
- Show/hide links correctly
- Show/hide auth links in navbar correctly
- Use Express router to reoragnize all routes
- Associate users and comments
- Save author's name to a comment automatically
- Prevent an unauthenticated user from creating a campground
- Save username + id to newly created campground
- Add Method-Override
- Add Edit Route for Campgrounds
- Add Link to Edit Page
- Add Update Route
- Fix $set problem
- Add Destroy Route
- Add Delete button
- User can only edit his/her campgrounds
- user can only delete his/her campgrounds
- Hide/Show edit and delete buttons
- Add Edit route for comments
- Add Edit button
- Add Update route
- Add Destroy route
- Add Delete button
- User can only edit his/her comments
- User can only delete his/her comments
- Hide/Show edit and delete buttons
- Refactor Middleware
- Demo working version
- Install and configure connect-flash
- Add bootstrap alerts to header
- Create a full screen background image slider that uses a crossfade effect to transition between images
- We'll use 5 images with 10 second intervals for a 50 second animation cycle
- Add price to campground model as a String datatype
- Add price to views/campgrounds/new.ejs and views/campgrounds/edit.ejs (new and edit forms)
- Add price to views/camprounds/show.ejs (campground show page)
- Use Bootstrap to style the login & sign up views
- Update the nav-bar menu
- Convert .container-fluid to regular .container
- Add conditional active class to menu list items
- Add collapsable hamburger menu
- Make site responsive for mobile
- Fix registration flash message bug
- Time passed since date created