Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/leovenom/yelpcamp

🏕 Yelpcamp is a fully functional NodeJs web app. This is a camping ground website which was actually developed during a code-along while following the web-developer-bootcamp.
https://github.com/leovenom/yelpcamp

bootstrap express heroku javascript mongodb mongoose nodejs npm npm-scripts passport-local-mongoose review-campgrounds yelpcamp

Last synced: 20 days ago
JSON representation

🏕 Yelpcamp is a fully functional NodeJs web app. This is a camping ground website which was actually developed during a code-along while following the web-developer-bootcamp.

Awesome Lists containing this project

README

        

# 🏕 YelpCamp



Campground

YelpCamp is a website where users can create and review campgrounds. In order to review or create a campground, you must have an account. This project was part of Colt Steele's web dev course on udemy.

This project was created using Node.js, Express, MongoDB, and Bootstrap. Passport.js was used to handle authentication.

## Features
* Users can create, edit, and remove campgrounds
* Users can review campgrounds once, and edit or remove their review
* User profiles include more information on the user (full name, email, phone, join date), their campgrounds, and the option to edit their profile or delete their account
* Search campground by name or location
* Sort campgrounds by highest rating, most reviewed, lowest price, or highest price

## Run it locally
1. Install [mongodb](https://www.mongodb.com/)
2. Create a cloudinary account to get an API key and secret code

```
git clone https://github.com/leovenom/YelpCamp.git
cd YelpCamp
npm install
```
## Built With

- [Node.js](https://nodejs.org) - Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine.
- [express](https://expressjs.com//) - Fast, unopinionated, minimalist web framework for Node.js
- [MongoDB](https://www.mongodb.com/) - The database for
modern applications
- [Mongoose](https://mongoosejs.com/) - Elegant MongoDB object modeling for Node.js
- [ejs](https://ejs.co/) - Embedded JavaScript templating

Create a .env file (or just export manually in the terminal) in the root of the project and add the following:

```
DATABASEURL=''
API_KEY=''
API_SECRET=''
```

Run ```mongod``` in another terminal and ```node app.js``` in the terminal with the project.

Then go to [localhost:3000](http://localhost:3000/).

To get google maps working check [this](https://github.com/nax3t/google-maps-api) out.