Skip to content

christian-leingang/YelpCamp

Repository files navigation

YelpCamp

This project was part of Colt Steele's Web Developer Bootcamp on Udemy

image image

Features

  • Explore campgrounds
  • Create and remove campgrounds
  • Review campgrounds
  • Added authentication and authorization
  • Included map view with Mapbox
  • Search campgrounds by name

Built with

  • 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.
  • MongoDB - The most advanced cloud database service.
  • Mongoose - Elegant mongodb object modeling for node.js.
  • Heroku - Build and deploy data-driven apps with fully managed data services.

other Tools

  • Bootstrap - The world’s most popular framework for building responsive, mobile-first sites.
  • Passport - Passport is authentication middleware for Node.js.
  • Mapbox - Precise location data and powerful developer tools to change the way we navigate the world.
  • Cloudinary - Transform images and videos to load faster with no visual degradation
  • SendGrid - Deliver Exceptional Email Experiences with SendGrid

Installation

For running this project locally:

  • Node.js and mongoDB is required
  • Clone this repo
  • Then install all packages with npm i

    Note: make sure to be inside of YelpCamp directory

  • Start Mongo: mongod --dbpath 'path\to\mongo_data\db'
  • Run seeds.js to seed the database: node seeds.js
  • Run app.js to start the server: node app.js
  • Open localhost:3000 in your browser to see the page

Deployment

Push to heroku:

  • heroku login

  • git push heroku main

  • When Heroku shows error "Application error, see logs": maybe MongoDB is inactive

Testing YelpCamp

Test the functionality of this website by signing up or using this account:

  • Username: test
  • Password: test