Wanderlust is a comprehensive travel platform designed for adventurers and explorers who want to discover and share extraordinary places around the world. Built with the powerful MERN (MongoDB, Express, React, and Node.js) stack, Wanderlust offers a seamless and secure user experience for both casual travelers and serious wanderers.
Our platform allows users to:β¨
Live Link: https://wanderlust-2024-tkqf.onrender.com/listing
π Stars | π΄ Forks | π Issues | π Open PRs | π Closed PRs | π οΈ Languages | β Contributors |
---|---|---|---|---|---|---|
We welcome contributions to help improve Wanderlust 2024! π Hereβs how you can get involved:
Fork the Repository π΄
Clone Your Forked Repository π
git clone https://github.com/your-username/Wanderlust-2024.git
cd Wanderlust-2024
Create a New Branch for Your Changes πΏ
git checkout -b feature/your-feature-name
Make Your Changes βοΈ
Add Your Changes to the Staging Area π¦
git add .
Commit Your Changes π
git commit -m "Add [feature/fix] - description"
Push Your Changes β¬οΈ
git push origin feature/your-feature-name
Clone the Repository π
git clone https://github.com/your-username/Wanderlust-2024.git
Navigate to the Project Directory π
cd Wanderlust-2024
Set Up Your Mapbox Account π
.env
file. πSet Up Your Cloudinary Account βοΈ
.env
file. πEnsure .env
and node_modules/
Are in .gitignore
π‘οΈ
.env
and node_modules/
are added to your .gitignore
file to prevent sensitive information and large files from being uploaded to GitHub. π«echo .env >> .gitignore
echo node_modules/ >> .gitignore
Create a .env
File ποΈ
.env
file and add the following variables:
MAP_TOKEN=your-mapbox-access-token
ATLAS_DB_TOKEN=your-mongodb-connection-uri # mongodb://127.0.0.1:27017/wanderlust for running mongodb server locally
SECRET=your-secret-key
CLOUD_NAME=your-cloudinary-cloud-name
CLOUD_API_KEY=your-cloudinary-api-key
CLOUD_API_SECRET=your-cloudinary-api-secret
PORT=8080 # Default port for the server
Install Dependencies βοΈ
npm install
Start the Server π
npx nodemon
for auto-restarting:
npx nodemon
node app.js
to start the server manually:
node app.js
Environment Setup π
.env
file is not uploaded to GitHub by checking that .gitignore
includes .env
. π The following code snippet prevents .env
from being deployed if you're running in development mode:
if (process.env.NODE_ENV !== 'production') {
require('dotenv').config();
}
Set Up Your Chatbase Account βοΈ
boilerplate.ejs
file. πWe're excited to have you on board! Whether you're a seasoned developer or just starting out, your skills and ideas can make a significant impact on Wanderlust 2024. Hereβs how you can get involved:
Every contribution, big or small, is valued and appreciated. Together, we can create an amazing platform for travel enthusiasts! πβ¨
For questions or feedback, feel free to reach out via GitHub issues or contact the project maintainers. βοΈ