This is a project that is centered around the implementation and use of the Node.js, Express.js, JavaScript and HTML & CSS to create a web application that allows users to share and review campgrounds.
It is centered around a web based application that contains multiple pages such as:
- Splash Screen page
- Login & Authentication Pages
- Main Page with all the campgrounds & a cluster map showing their locations
- Review Pages
- Adding Campgrounds
- Reviewing Campgrounds
- YelpCamp - Campgrounds CRUD Operations
- Middleware - Express Implementation
- MongoDB - Relationships with Express
- Authentication - Adding in Authentication & Sessions
- Features & Functionalities - Adding Maps, Image Uploads
- Styling - Adding in Bootstrap to the YelpCamp Project
- Install mongodb
- Create a cloudinary account to get an API key and secret code
git clone https://github.com/himanshup/yelpcamp.git
cd yelpcamp
npm install
Create a .env file (or just export manually in the terminal) in the root of the project and add the following:
DATABASEURL='<url>'
API_KEY=''<key>
API_SECRET='<secret>'
Run mongod
in another terminal and node app.js
in the terminal with the project.
Then go to localhost:3000.
To get google maps working check this out.