Skip to content

Yelp like site with info about campgrounds from The Web Developer Bootcamp by Colt Steele (Udemy)

Notifications You must be signed in to change notification settings

VaishaliPandiyen/Campgrounds

Repository files navigation

YelpCamp

INSTRUCTIONS TO RUN THE LOCALLY DOWNLOADED FOLDER FROM THE DIRECTORY:

To locally run the page on localhost:3030: Run command "nodemon index.js" from the parent folder- Campgrounds

Whenever you run a js file that has mongo related code, make sure your mongo cli is running in the background. You can find the mongo cli here: "C:\Program Files\MongoDB\Server\5.0\bin\mongo.exe"

EXTRAS:

  • Running "node seeds/indexSeeds.js" reseeds the database

  • "models/explainer.js" and "models/schemeDesignGuide.txt" are examples and explainations for basic one to few, many and bajillions mongo db relationships.

  • "models/campgrounds.js" explains how to delete amenities linked with the campground

  • Routes "explainer.js" explains basic cookie parser (with sign), express session and flash

About

Yelp like site with info about campgrounds from The Web Developer Bootcamp by Colt Steele (Udemy)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages