CampRave is a web platform that allows users to review and view crowd-sourced ratings for camping locations. It provides a user-friendly interface for campers to share their experiences and rate various camping sites. The platform also integrates with Mapbox API to display camping locations on an interactive map.
Check out CampRave : camp-rave-live
- Browse camping locations based on user ratings and reviews.
- View camping sites on an interactive map powered by Mapbox API.
- Submit your own reviews and ratings for camping locations.
- User authentication and profile management.
- Responsive design for seamless usage on different devices.
- HTML, CSS, and JavaScript for front-end development.
- Node.js and Express for server-side development.
- MongoDB for database management.
- Mapbox API for interactive maps.
- Node.js and npm installed.
- MongoDB database setup.
-
Clone the repository:
git clone https://github.com/asif158/CampRave.git
-
Navigate to the project directory:
cd CampRave
-
Install dependencies:
npm install
-
Add Environment Variables in
/.env
file. -
Edit the
.env
file to add your environment variables:# MongoDB DB_URL=your_DB_URL # Mapbox API MAPBOX_TOKEN=your_MAPBOX_API_KEY # Cloudinary API CLOUDINARY_KEY=your_CLOUDINARY_API_KEY CLOUDINARY_CLOUDNAME=your_CLOUDINARY_CLOUDNAME CLOUDINARY_SECRET=your_CLOUDINARY_SECRET # Secret SECRET=anyrandomvalue
-
run the database connection in
/seeds/index.js
. -
Start the server:
npm start
- Visit
http://localhost:3000
in your web browser. - Browse camping locations, read reviews, and explore the map.
- To contribute and submit your own reviews, sign up or log in to your account.
Contributions to CampRave are welcome! If you have any ideas, bug fixes, or enhancements, please feel free to open an issue or submit a pull request on the GitHub repository. Your contributions will be greatly appreciated.
To contribute:
- Fork the repository.
- Create a new branch:
git checkout -b feature/your-feature
- Make your changes and commit them:
git commit -m "Add your feature"
- Push to the branch:
git push origin feature/your-feature
- Open a pull request detailing your changes.