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

https://github.com/harshitrv/yelpcamp

A website to rank camping sites.
https://github.com/harshitrv/yelpcamp

Last synced: 21 days ago
JSON representation

A website to rank camping sites.

Awesome Lists containing this project

README

        

# About
A simple Yelp type website which let's you review camping cites
let's you add camp site you visted.

# [Visit The Site](https://campsite-review.up.railway.app/campgrounds)

# Running the app locally
## Setting up local environment
1. Install all the dependencies ```npm install```
2. Create ```.env``` file and populate the following fields
```
NODE_ENV=devlopment
MONGODB_CONNECTION_STRING=
MONGODB_LOCAL=mongodb://localhost:27017/yelp-camp
SESSION_SECRET=
CLOUDINARY_CLOUD_NAME=
CLOUDINARY_KEY=
CLOUDINAY_SECRET=
MAPBOX_TOKEN=
```
3. Signup for account on [cloudinary](https://cloudinary.com/) and get your cloudinary credentials and on [mapbox](https://www.mapbox.com/) to get your mapbox token.
4. In ```app.js``` file, replace ```process.env.MONGODB_CONNECTION_STRING``` with ```process.env.MONGODB_LOCAL``` if you dont have mongodb atlas cluster created yet.
5. Run the app ```npm start```

# Connect with me.
- [Twitter](https://twitter.com/hrv_vishwakarma)
- [LinkedIn](https://www.linkedin.com/in/harshit-kr-vishwakarma-b57b8b175/)
- [Discord Server](https://discord.com/invite/5PNFxQF2nz)