Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shriniwasmahajan/yelp_camp
A website to locate nearby campgrounds and provide details for decision-making.
https://github.com/shriniwasmahajan/yelp_camp
cloudinary ejs expressjs helmet mapbox mongodb nodejs passportjs
Last synced: about 9 hours ago
JSON representation
A website to locate nearby campgrounds and provide details for decision-making.
- Host: GitHub
- URL: https://github.com/shriniwasmahajan/yelp_camp
- Owner: ShriniwasMahajan
- Created: 2024-04-09T16:54:12.000Z (9 months ago)
- Default Branch: master
- Last Pushed: 2024-07-26T19:20:08.000Z (6 months ago)
- Last Synced: 2024-11-11T14:34:56.816Z (about 2 months ago)
- Topics: cloudinary, ejs, expressjs, helmet, mapbox, mongodb, nodejs, passportjs
- Language: JavaScript
- Homepage: https://yelp-camp-87li.onrender.com/
- Size: 104 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# YelpCamp
> A Node.js web application project
## Features
* Authentication:
* User login with username and password* Authorization:
* One cannot manage posts and view user profile without being authenticated
* One cannot edit or delete posts and comments created by other users
* Manage campground posts with basic functionalities:
* Create, edit and delete posts and comments
* Upload campground photos
* Display campground location on Google Maps
* Search existing campgrounds* Flash messages responding to users' interaction with the app
* Responsive web design
### Custom Enhancements
* Update campground photos when editing campgrounds
* Improve image load time on the landing page using Cloudinary
* Use Helmet to strengthen security
## Getting Started> This app contains API secrets and passwords that have been hidden deliberately, so the app cannot be run with its features on your local machine. However, feel free to clone this repository if necessary.
### Clone or download this repository
```sh
git clone https://github.com/ShriniwasMahajan/yelp_camp.git
```### Install dependencies
```sh
npm install
```#### Create a cloudinary account to get an API key and secret code, then Create a .env file and add the following:
```
CLOUDINARY_CLOUD_NAME=
CLOUDINARY_KEY=
CLOUDINARY_SECRET=
MAPBOX_TOKEN=
DB_URL=
SECRET= (for encryption)
```