Skip to content

The Capstone project from Colt Steele's The Web Developer Bootcamp on Udemy -- utilizing EJS templating, express, mongoose, MongoDB, passport.js and Node.js

CPMSP/yelpCamp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YelpCamp V11 -- Adding in Flash!

  • Demo working version
  • Install and configure connect-flash
  • Add bootstap alerts to header

Authorization Part 2: Comments

  • User can only edit their comments
  • User can only delete their comments
  • Hide / show edit and delete buttons
  • Refactor middleware

Deleting Comments

  • Add Destroy route
  • Add Delete button

Editing Comments

  • Add Edit Route for comments
  • Add Edit button
  • Add Update route

Authorization Part 1: Campgrounds

  • User can only edit their campgrounds
  • User can only delete their campgrounds
  • Hide / Show edit and delete buttons

Deleting Campgrounds

  • Add Destroy Route
  • Add Delete Button

YelpCamp V10 -- Editing Campgrounds

  • Add Method-Override
  • Add Edit Route for Campgrounds
  • Add Link to Edit Page
  • Add Update Route
  • Fix $set problem

Users + Campgrounds

  • Prevent an unauthenticated user from creating a campground
  • Save username + id to newly created campground

YelpCamp V8 -- Users + Comments

  • Associate users and comments
  • Save author's name to a comment automatically

YelpCamp V7 -- Refactoring

  • Use Express router to reorganize all routes

Auth Pt 5

  • Show / hide auth link in navbar correctly

Auth Pt 4 -- Logout / Navbar

  • Add logout route
  • Prevent user from adding a comment if not signed in
  • Add links to navbar
  • Show / hide auth links correctly

Auth Pt 3 -- Login

  • Add login routes
  • Add register template

Auth Pt 2 - Register

  • Configure Passport
  • Add Register routes
  • Add register template

YelpCamp V6 -- Auth pt 1 - Add User Model

  • Install all packages needed for auth
  • Define User model

Finish Styling Show Page

  • Add public directory
  • Add custom stylesheet

Style Show Page

  • Add sidebar to show page
  • Display comments nicely

YelpCamp V5 -- Comment New / Create

  • Discuss Nested routes
  • Add the comment new and create routes
  • Add the new comment form

Add the Comment model

  • Make our errors go away
  • Display comments on campground show page

YelpCamp V4 -- Add Seeds File

  • Add a seeds.js file
  • Run the seeds file every time the server starts

YelpCamp V3 -- Refactor Mongoose Code

  • Create a models directory
  • Use module.exports
  • Require everything correctly!

Show Page

  • Review the RESTful routes we've seen so far
  • Add description to our campground model
  • Show db.collection.drop()
  • Add a show route / template

YelpCamp V2

  • Add Mongoose
  • Install and configure mongoose
  • Setup campground model
  • Use campground model inside of our routes

Style the Navbar and Form

  • Add a navbar to all templates
  • Style the new campground form

Style the campgrounds page

  • Add a better header / title
  • Make campgrounds display in a grid

Creating New Campgrounds

  • Setup new capgrounds POST route
  • Add in body-parser
  • Setup route to show form
  • Add basic unstyled form

Layout and Basic Styling

  • Create our header and footer partials
  • Add in Bootstrap

YelpCamp V1

  • Add landing page
  • Add Campgrounds page that lists all campgrounds

Each Campground has:

  • Name
  • Image

About

The Capstone project from Colt Steele's The Web Developer Bootcamp on Udemy -- utilizing EJS templating, express, mongoose, MongoDB, passport.js and Node.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published