-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #79 from eshalshaikh07/main
Update README.md
- Loading branch information
Showing
1 changed file
with
181 additions
and
208 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,211 +1,184 @@ | ||
# Wanderlust-2024 | ||
# π Wanderlust 2024 | ||
|
||
<img src="https://github.com/user-attachments/assets/e8059385-3570-49ab-a20b-127ad6b83ada" height=200 width=300 alt="WL"/> | ||
|
||
Welcome to **Wanderlust 2024**! π This project aims to provide a comprehensive platform for travel enthusiasts, offering features such as map integration πΊοΈ, user-generated content βοΈ, and a seamless experience for discovering new destinations. βοΈβ¨ | ||
|
||
<img src="https://user-images.githubusercontent.com/74038190/212284100-561aa473-3905-4a80-b561-0d28506553ee.gif" width="900"> | ||
|
||
## π Table of Contents | ||
|
||
|
||
- π€ How to Contribute | ||
- π οΈ How to Set Up the Project Locally | ||
- π License | ||
- π¬ Contact | ||
|
||
<img src="https://user-images.githubusercontent.com/74038190/212284100-561aa473-3905-4a80-b561-0d28506553ee.gif" width="900"> | ||
|
||
## π€ How to Contribute | ||
|
||
<img src="https://github.com/user-attachments/assets/b477d957-6727-4fe2-900c-081e69b813eb" height=200 width=300 alt="WL"/> | ||
|
||
We welcome contributions to help improve **Wanderlust 2024**! π Hereβs how you can get involved: | ||
|
||
1. **Fork the Repository** π΄ | ||
- Navigate to the [Wanderlust 2024 GitHub page](https://github.com/your-username/Wanderlust-2024). π | ||
- Click on the Fork button in the top-right corner of the page to create a copy of the repository in your GitHub account. β | ||
|
||
2. **Clone Your Forked Repository** π | ||
- After forking, clone the repository to your local machine: | ||
```bash | ||
git clone https://github.com/your-username/Wanderlust-2024.git | ||
``` | ||
- Navigate to the project directory: | ||
```bash | ||
cd Wanderlust-2024 | ||
``` | ||
|
||
3. **Create a New Branch for Your Changes** πΏ | ||
- Create a new branch for your feature or fix: | ||
```bash | ||
git checkout -b feature/your-feature-name | ||
``` | ||
|
||
4. **Make Your Changes** βοΈ | ||
- Add your desired features, fix bugs, or improve documentation. π οΈ | ||
|
||
5. **Add Your Changes to the Staging Area** π¦ | ||
- Stage the files you modified or created: | ||
```bash | ||
git add . | ||
``` | ||
|
||
6. **Commit Your Changes** π | ||
- Commit your changes with a descriptive message: | ||
```bash | ||
git commit -m "Add [feature/fix] - description" | ||
``` | ||
|
||
## Welcome to the Wanderlust-2024 Repository! | ||
7. **Push Your Changes** β¬οΈ | ||
- Push the changes to your forked repository: | ||
```bash | ||
git push origin feature/your-feature-name | ||
``` | ||
|
||
Wanderlust | ||
Wanderlust is a full-stack travel website built using the MERN (MongoDB, Express, React, Node.js) stack. The platform allows users to explore, create, and review travel listings, helping travelers discover unique destinations. The application features an intuitive UI, user authentication, real-time map integration, and a robust review system, making it a comprehensive solution for travel enthusiasts. | ||
## π οΈ How to Set Up the Project Locally | ||
|
||
Features | ||
User Authentication: Secure login and registration using Passport.js. | ||
Create and Manage Listings: Users can create new travel listings, add descriptions, upload images, and specify locations. | ||
Review and Rating System: Users can add reviews to listings and provide ratings. | ||
Real-time Map Integration: Mapbox is integrated to display the location of each listing, offering users an interactive visual experience. | ||
Responsive Design: Fully responsive UI to provide a seamless experience on both mobile and desktop devices. | ||
Cloud-based Image Uploads: Cloudinary is used for image storage and retrieval, ensuring high-quality images for listings. | ||
Protected Routes and Authorization: Access to certain routes is restricted based on user roles and authentication status. | ||
|
||
Tech Stack | ||
Frontend: React, HTML, CSS | ||
Backend: Node.js, Express | ||
Database: MongoDB (with Mongoose for data modeling) | ||
Authentication: Passport.js for user authentication | ||
Cloud Storage: Cloudinary for storing and retrieving images | ||
Map Integration: Mapbox for displaying maps with location markers | ||
Deployment: Render for backend deployment | ||
|
||
This project allows users to explore and create listings for travel destinations, add reviews, book listings and more, powered by the MERN stack. | ||
|
||
## Live URL | ||
|
||
https://wanderlust-2024-owqy.onrender.com | ||
|
||
### How to Contribute | ||
|
||
We welcome contributions to help improve Wanderlust-cp! Here's how you can get involved: | ||
|
||
1. Fork the Repository | ||
- Navigate to the [Wanderlust-2024 GitHub page](https://github.com/Soujanya2004/Wanderlust-2024). | ||
- Click on the **Fork** button in the top-right corner of the page to create a copy of the repository in your GitHub account. | ||
|
||
2. Clone Your Forked Repository | ||
- After forking, clone the repository to your local machine: | ||
git clone https://github.com/your-username/Wanderlust-2024.git | ||
|
||
3.Navigate to the project directory: | ||
-cd Wanderlust-2024 | ||
|
||
4.Create a new branch for your changes: | ||
git checkout -b feature/your-feature-name | ||
|
||
5.Add your desired features, fix bugs, or improve documentation. | ||
|
||
6.Add the files you modified or created to the staging area | ||
git add . | ||
|
||
7.Commit Your Changes | ||
git commit -m "Add [feature/fix] - description" | ||
|
||
8.Push the changes to your forked repository: | ||
git push origin feature/your-feature-name | ||
|
||
Steps to setup the project after forking the repo into your **Github** account. | ||
|
||
--- | ||
|
||
## How to Set Up the Project Locally | ||
|
||
### 1. Clone the Repository | ||
Clone the repository to your local machine: | ||
```bash | ||
git clone https://github.com/your-username/Wanderlust-2024.git | ||
``` | ||
|
||
### 2. Navigate to the Project Directory | ||
Change to the directory where the project is located: | ||
```bash | ||
cd Wanderlust-2024 | ||
``` | ||
|
||
### 3. Set Up Your Mapbox Account | ||
- Go to [Mapbox](https://www.mapbox.com/) and sign up for a free account. | ||
- After logging in, navigate to the **Tokens** section under your account settings. | ||
- Create a new **Access Token** and copy it. You will need this for the `.env` file. | ||
|
||
### 4. Set Up Your Cloudinary Account | ||
- Go to [Cloudinary](https://cloudinary.com/) and sign up for a free account. | ||
- After logging in, navigate to your **Dashboard**. | ||
- Copy your **Cloud Name**, **API Key**, and **API Secret**. You will need these for the `.env` file. | ||
|
||
### 5. Ensure `.env` and `node_modules/` Are in `.gitignore` | ||
Before proceeding, ensure that both `.env` and `node_modules/` are added to your `.gitignore` file to prevent sensitive information and large files from being uploaded to GitHub. | ||
|
||
If they are not already there, add them: | ||
```bash | ||
echo .env >> .gitignore | ||
echo node_modules/ >> .gitignore | ||
``` | ||
|
||
### 6. Create a `.env` File | ||
In the root directory of the project, create a `.env` file and add the following variables: | ||
```bash | ||
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 | ||
``` | ||
|
||
### 7. Install Dependencies | ||
Install the required Node.js dependencies: | ||
```bash | ||
npm install | ||
``` | ||
|
||
### 8. Start the Server | ||
You have two options to start the server: | ||
- Using `npx nodemon` for auto-restarting: | ||
```bash | ||
npx nodemon | ||
``` | ||
- Or using `node app.js` to start the server manually: | ||
```bash | ||
node app.js | ||
``` | ||
|
||
### 9. Environment Setup | ||
Ensure that the `.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: | ||
```javascript | ||
if (process.env.NODE_ENV !== 'production') { | ||
require('dotenv').config(); | ||
} | ||
``` | ||
--- | ||
Feel free to raise issues and contribute to the repository | ||
Steps to setup the project after forking the repo into your **Github** account. | ||
--- | ||
## How to Set Up the Project Locally | ||
### 1. Clone the Repository | ||
Clone the repository to your local machine: | ||
```bash | ||
git clone https://github.com/your-username/Wanderlust-2024.git | ||
``` | ||
### 2. Navigate to the Project Directory | ||
Change to the directory where the project is located: | ||
```bash | ||
cd Wanderlust-2024 | ||
``` | ||
### 3. Set Up Your Mapbox Account | ||
- Go to [Mapbox](https://www.mapbox.com/) and sign up for a free account. | ||
- After logging in, navigate to the **Tokens** section under your account settings. | ||
- Create a new **Access Token** and copy it. You will need this for the `.env` file. | ||
### 4. Set Up Your Cloudinary Account | ||
- Go to [Cloudinary](https://cloudinary.com/) and sign up for a free account. | ||
- After logging in, navigate to your **Dashboard**. | ||
- Copy your **Cloud Name**, **API Key**, and **API Secret**. You will need these for the `.env` file. | ||
### 5. Ensure `.env` and `node_modules/` Are in `.gitignore` | ||
Before proceeding, ensure that both `.env` and `node_modules/` are added to your `.gitignore` file to prevent sensitive information and large files from being uploaded to GitHub. | ||
If they are not already there, add them: | ||
```bash | ||
echo .env >> .gitignore | ||
echo node_modules/ >> .gitignore | ||
``` | ||
### 6. Create a `.env` File | ||
In the root directory of the project, create a `.env` file and add the following variables: | ||
```bash | ||
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 | ||
``` | ||
### 7. Install Dependencies | ||
Install the required Node.js dependencies: | ||
```bash | ||
npm install | ||
``` | ||
### 8. Start the Server | ||
You have two options to start the server: | ||
- Using `npx nodemon` for auto-restarting: | ||
```bash | ||
npx nodemon | ||
``` | ||
- Or using `node app.js` to start the server manually: | ||
```bash | ||
node app.js | ||
``` | ||
### 9. Environment Setup | ||
Ensure that the `.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: | ||
```javascript | ||
if (process.env.NODE_ENV !== 'production') { | ||
require('dotenv').config(); | ||
} | ||
--- | ||
Feel free to raise issues and contribute to the repository | ||
1. **Clone the Repository** π | ||
- Clone the repository to your local machine: | ||
```bash | ||
git clone https://github.com/your-username/Wanderlust-2024.git | ||
``` | ||
|
||
2. **Navigate to the Project Directory** π | ||
- Change to the directory where the project is located: | ||
```bash | ||
cd Wanderlust-2024 | ||
``` | ||
|
||
3. **Set Up Your Mapbox Account** π | ||
- Go to [Mapbox](https://www.mapbox.com) and sign up for a free account. π | ||
- After logging in, navigate to the Tokens section under your account settings. π | ||
- Create a new Access Token and copy it. You will need this for the `.env` file. π | ||
|
||
4. **Set Up Your Cloudinary Account** βοΈ | ||
- Go to [Cloudinary](https://cloudinary.com) and sign up for a free account. π | ||
- After logging in, navigate to your Dashboard. π | ||
- Copy your Cloud Name, API Key, and API Secret. You will need these for the `.env` file. π | ||
|
||
5. **Ensure `.env` and `node_modules/` Are in `.gitignore`** π‘οΈ | ||
- Before proceeding, ensure that both `.env` and `node_modules/` are added to your `.gitignore` file to prevent sensitive information and large files from being uploaded to GitHub. π« | ||
- If they are not already there, add them: | ||
```bash | ||
echo .env >> .gitignore | ||
echo node_modules/ >> .gitignore | ||
``` | ||
|
||
6. **Create a `.env` File** ποΈ | ||
- In the root directory of the project, create a `.env` file and add the following variables: | ||
```plaintext | ||
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 | ||
``` | ||
|
||
7. **Install Dependencies** βοΈ | ||
- Install the required Node.js dependencies: | ||
```bash | ||
npm install | ||
``` | ||
|
||
8. **Start the Server** π | ||
- You have two options to start the server: | ||
- Using `npx nodemon` for auto-restarting: | ||
```bash | ||
npx nodemon | ||
``` | ||
- Or using `node app.js` to start the server manually: | ||
```bash | ||
node app.js | ||
``` | ||
|
||
9. **Environment Setup** π | ||
- Ensure that the `.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: | ||
```javascript | ||
if (process.env.NODE_ENV !== 'production') { | ||
require('dotenv').config(); | ||
} | ||
``` | ||
Feel free to raise issues and contribute to the repository! ππ» | ||
<img src="https://user-images.githubusercontent.com/74038190/212284100-561aa473-3905-4a80-b561-0d28506553ee.gif" width="900"> | ||
## π License | ||
<img src="https://github.com/user-attachments/assets/e6176825-c269-43d0-8da8-0ded79d266d7" height=200 width=300 alt="WL"/> | ||
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details. | ||
<img src="https://user-images.githubusercontent.com/74038190/212284100-561aa473-3905-4a80-b561-0d28506553ee.gif" width="900"> | ||
## π¬ Contact | ||
For questions or feedback, feel free to reach out via GitHub issues or contact the project maintainers. βοΈ | ||
<img src="https://user-images.githubusercontent.com/74038190/212284100-561aa473-3905-4a80-b561-0d28506553ee.gif" width="900"> | ||
## π€ Join Our Community of Contributors! | ||
<img src="https://github.com/user-attachments/assets/35934e5d-4bf8-4add-908c-3ce47c9b1536" height=200 width=300 alt="WL"/> | ||
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: | ||
- **Share Your Ideas** π‘: Have a feature in mind? Let us know! | ||
- **Fix Bugs** π: Help us improve the project by identifying and fixing issues. | ||
- **Enhance Documentation** π: Clear documentation helps everyone. Your contributions can make it even better! | ||
Every contribution, big or small, is valued and appreciated. Together, we can create an amazing platform for travel enthusiasts! πβ¨ | ||
<img src="https://user-images.githubusercontent.com/74038190/212284100-561aa473-3905-4a80-b561-0d28506553ee.gif" width="900"> | ||
## β€οΈ Made with Love by [Soujanya](https://github.com/Soujanya2004) | ||
<a href="https://github.com/Soujanya2004"> | ||
<img src="https://avatars.githubusercontent.com/Soujanya2004" alt="Your Profile" style="width: 100px; height: 100px; border-radius: 100%;"> | ||
</a> | ||
<img src="https://user-images.githubusercontent.com/74038190/212284100-561aa473-3905-4a80-b561-0d28506553ee.gif" width="900"> | ||