A Node.js web application
-
Authentication:
-
User login with username and password
-
Admin sign-up with admin code
-
-
Authorization:
-
One cannot manage posts and view user profile without being authenticated
-
One cannot edit or delete posts and comments created by other users
-
Admin can manage all posts and comments
-
-
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
-
-
Manage user account with basic functionalities:
-
Password reset via email confirmation(disabled) -
Profile page setup with sign-up
-
-
Flash messages responding to users' interaction with the app
-
Responsive web design
-
Update campground photos when editing campgrounds
-
Update personal information on profile page
-
Improve image load time on the landing page using Cloudinary
-
Use Helmet to strengthen security
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.
git clone https://github.com/govindk11/YelpCamp.git
npm install
or
yarn install
Some comments in the source code are course notes and therefore might not seem necessary from a developer's point of view.