Full Stack Web App built as part of Colt Steele's Web Dev Bootcamp.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
middleware
models
node_modules
public
routes
views
LICENSE
README.md
app.js
package-lock.json
package.json
seeds.js

README.md

YelpCamp

YelpCamp is a project that was completed as a part of Colt Steele's bootcamp.

This project has been expanded beyond what was done in the course.

Local Setup

Run the following commands in the terminal. Be sure to update information as necessary.

export DATABASEURL=mongodb://localhost/yelp_camp
export SESSION_SECRET=Whatever phrase you choose

Heroku + MongoLab setup

Update the variables as follows:

DATABASEURL=mongodb://<dbuser>:<dbpassword>@1234.mlab.com:19990/yelp-camp

SESSION_SECRET=Whatever phrase you choose

This can be accomplished on the Heroku site by accessing the Config Vars on the Settings page.
Alternatively this can be done on the command line with the following commands:

heroku config:set DATABASEURL='mongodb://\<dbuser>:\<dbpassword>@1234.mlab.<span></span>com:19990/yelp-camp'
heroku config:set SESSION_SECRET='Whatever phrase you choose'

Deployed

The app is deployed here at Heroku (also using MongoLab).