Skip to content

Latest commit

 

History

History
38 lines (27 loc) · 1.57 KB

README.md

File metadata and controls

38 lines (27 loc) · 1.57 KB

HungerMania

HungerMania is a website where users can create and review restaurants. In order to review or create a restaurant, you must have an account.

This project was created using Node.js, Express, MongoDB, Mongooose and Bootstrap. Passport.js was used to handle authentication. Mapbox was used to create and show maps and Cloudinary is used to store multimedia. Mongo Atlas is used as cloud database for storing all the info of restaurants, reviews and users.

This project is hosted online using heroku. Check it out => hungermania

Features

  • Users can create, edit, and remove restaurants
  • Users can review restaurants, and edit or remove their review
  • User profiles have information (username and email), and they are the author of their restaurants only
  • See restaurants on a cluster map on main page
  • See location on map, reviews, and other info on show page

Run it locally

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

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.