Skip to content

jesseragos/YelpCamp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YelpCamp

A Yelp clone web application for camping enthusiasts.

Disclaimer: This project is developed in collaboration from The Web Developer Bootcamp Udemy course.

Requirements:

  1. Node.js is installed.
  2. A local installation of MongoDB or cloud service like mLab and get the database URL.

Instructions:

  1. After having the requirements, check if node and npm commands are running in any working terminal like Bash or PowerShell.
  2. Create a .env file in the root of project directory with the contents as follow below:
PORT=3000
IP=127.0.0.1
DATABASEURL=yourDatabaseURL

You can change the values of the other variables as you wish but insure that it will reflect with the setup in later steps.

  1. Run npm install to download all dependencies from package.json.
  2. For those using MongoDB cloud service, refer to step 2 above OR set the URL in environment variables with this command: 'export DATABASEURL = yourDatabaseURL'. If local setup, database URL will default to mongodb://localhost/yelp_camp if DATABASEURL variable is not provided.
  3. Run npm start.
  4. Visit the app in a browser with URL of localhost:3000 (3000 is the set port so update this if there is change in the PORT value. Also check IP if there were conflicts encountered).

About

A Yelp clone web application for camping enthusiasts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published