Skip to content

YelpCamp is a website where users can create and review campgrounds. To review or create a campground, you must have an account. This project was created using Node.js, Express, MongoDB, and Bootstrap. Passport.js was used to handle authentication.

Notifications You must be signed in to change notification settings

niharika1102/YelpCamp

Repository files navigation

YelpCamp

image

YelpCamp is a website where users can create and review campgrounds. To review or create a campground, you must have an account. This project was created using Node.js, Express, MongoDB, and Bootstrap. Passport.js was used to handle authentication.

Features

  • Users can create, edit, and remove campgrounds
  • Users can review campgrounds once, and edit or remove their review
  • User profiles include more information on the user (full name, email, phone, join date), their campgrounds, and the option to edit their profile or delete their account
  • Search campground by name or location
  • Sort campgrounds by highest rating, most reviewed, lowest price, or highest price

Run it locally

  1. Install mongodb
  2. Create a cloudinary account to get an API key and secret code
https://github.com/niharika1102/YelpCamp.git
cd YelpCamp
npm install

Built With

Name Description
Node.js Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine.
Express.js Fast, unopinionated, minimalist web framework for Node.js
Mongo DB The database for modern applications
Mongoose Elegant MongoDB object modeling for Node.js
EJS Embedded JavaScript templating

Create a .env file (or just export manually in the terminal) in the root of the project and add the following:

DATABASEURL='<url>'
API_KEY='<key>'
API_SECRET='<secret>'

Run mongod in another terminal and node app.js in the terminal with the project.

Then go to localhost:3000.

To get maps working check this out.

About

YelpCamp is a website where users can create and review campgrounds. To review or create a campground, you must have an account. This project was created using Node.js, Express, MongoDB, and Bootstrap. Passport.js was used to handle authentication.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published