This project was undertaken by Vivek Jaiswal as Self-Project.
YelpCamp is an user interactive website which describes different campgrounds from different places and an authorised user can add a campground, edit or delete it. It also allows an authorised user to add a reviews, edit or delete it.
Open terminal and check for Node version.
node --versionIf node is not installed, then install it using the following command :
# Using Ubuntu
curl -fsSL https://deb.nodesource.com/setup_17.x | sudo -E bash -
sudo apt-get install -y nodejsNow Navigate to the directory containing package.json and run the following command :
npm installThis will install all the dependencies of the project in node_modules directory.
Now, execute the project by running
node app.jsNOTE
If you get any error regarding database, then try to reconnect with different internet connection. If any other error is encountered then try to delete node_modules directory and rerun the following command in directory containing package.json.
npm installUser can register in the the platform.
User can logged in in the the platform.
User can create the Campground in the the platform by filling the credentials.
User can view the Campgrounds in the the platform.
User can delete his/her Campground in the the platform.
User can give the rating to the particular Campground in the the platform.
User can create the Reviews to the particular Campground in the the platform.
User can delete his/her Reviews to the particular Campground in the the platform.