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.
- Host: GitHub
- URL: https://github.com/harshitrv/yelpcamp
- Owner: HarshitRV
- Created: 2022-02-21T16:46:18.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-10-10T17:29:54.000Z (over 2 years ago)
- Last Synced: 2024-12-26T14:29:28.288Z (5 months ago)
- Language: JavaScript
- Homepage: https://campsite-review.up.railway.app/
- Size: 198 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)