Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/leovenom/yelpcamp
- Owner: leovenom
- Created: 2020-11-18T16:07:28.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-06-05T11:55:47.000Z (over 1 year ago)
- Last Synced: 2024-10-07T21:07:23.315Z (about 1 month ago)
- Topics: bootstrap, express, heroku, javascript, mongodb, mongoose, nodejs, npm, npm-scripts, passport-local-mongoose, review-campgrounds, yelpcamp
- Language: JavaScript
- Homepage:
- Size: 2.61 MB
- Stars: 11
- Watchers: 2
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ð YelpCamp
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 templatingCreate 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.