YelpCamp is a project that was completed as a part of Colt Steele's bootcamp. My version of YelpCamp has a few tweaks beyond what was coded in class.
- Add Landing Page
- Add Campgrounds Page that lists all campgrounds
Each Campground has:
- Name
- Image
- Create 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
- 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 routes
- Review the RESTful routes we've seen so far
- Add description to the campground model
- Show db.collection.drop()
- Add a show route/template
- 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 comment 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 stylesheet
- Install all packages needed for auth
- Define User model
- Configure Passport
- Add register routes
- Add register template
- Add login routes
- Add login template
- Add logout route
- Prevent user from adding a comment if not signed in
- Add links to navbar
- Show/hide auth links in navbar
- 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
- 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
Campground Edit Route: /campgrounds/:id/edit Comment Edit Route: /campgrounds/:id/comments/:comment_id/edit
- Add Destroy route
- Add Delete button
Campground Destroy Route: /campgrounds/:id Comment Destroy Route: /campgrounds/:id/comments/:comment_id
- User can only edit his/her comments
- User can only delete his/her comments
- Hide/Show edit and delete buttons
- Refactor Middleware to a single file
- Demo working version
- Install and configure connect-flash
- Add bootstrap alerts to header
- Show user-defined price
- Edit new or old price
- Change model for campground
- Add post date on comments
- Add post date on campgrounds