Skip to content

shahketan1810/YelpCamp-Website

Repository files navigation

YelpCamp

YelpCamp is a website where users can create and review campgrounds. In order to review or create a campground and review, you have to login/register.

The project was created using Node.js, Express, MongoDB, and Bootstrap.
Also Passport.js is used to handle authentication.
Cloudinary is used for cloud image storage.
MapboxGL is used to represent all the campgrounds all over the country.
Helmetjs is used to strengthen the security.

Live Link : https://pacific-ridge-40956.herokuapp.com/

Snapshots of the website

  • HomePage

  • Index Page - to Search for campgrounds

  • Searching for a Campground through map

  • Show Page - to view info about Campgrounds, also you can add reviews and create Campgrounds once you've logged in

Features

  • Users can create, update, and delete the campgrounds
  • Users can review campgrounds, and edit or delete their reviews.
  • Campgrounds can be searched via the Mapbox and viewed.
  • Can upload multiple images for a campground.

To run the Website locally

  • Install Mongodb and NodeJS on your device.
  • Create a account on Cloudinary and Mapbox and get the API key.
  • Create a .env file in the root of the project and add this:
CLOUDINARY_CLOUD_NAME=<Cloudinary name>
CLOUDINARY_KEY=<Cloudinary Key>
CLOUDINARY_SECRET=<Cloudinary Secret>
MAPBOX_TOKEN=<Your mapbox API key>
  • Clone the repository, install all the dependencies and that's it.
git clone https://github.com/shahketan1810/YelpCamp.git
cd YelpCamp
npm install
nodemon app.js

Will try to make a few changes soon :)