README.md
This repository contains the code for an adventure trip planning website built using the MERN stack (MongoDB, Express, React, and Node.js). The website allows users to plan and organize their adventure trips by providing information about various destinations, activities, and accommodations.
- User registration and authentication system
- Browse and search for destinations, activities, and accommodations
- Create and manage trip itineraries
- View detailed information about destinations, activities, and accommodations
- User reviews and ratings for destinations, activities, and accommodations
- User profile management
The Adventure Hub: Welcome users with a visually stunning landing page that captures the essence of adventure, showcasing the thrilling possibilities and unique features of the platform.
Trip Planner: Create an intuitive and interactive itinerary page where users can effortlessly drag and drop various components to design their customised adventure trip, ensuring ease of use and optimal timeline management.
Thrills & Spills Checkout: Design a secure and user-friendly payment page that allows users to confirm their vacation details, providing a seamless booking experience and ensuring their adventure journey is just a few clicks away.
To run the adventure trip planning website locally, follow these steps:
- Clone the repository:
git clone https://github.com/your-username/adventure-trip-planning-website.git
- Navigate to the project directory:
cd adventure-trip-planning-website
- Install the dependencies for both the server and client:
cd server
npm install
cd ../client
npm install
-
Configure the environment variables:
- Create a
.env
file in theserver
directory. - Add the following variables and replace the values with your own:
PORT=3000 DATABASE_URL=mongodb://localhost:27017/adventure_trip SECRET_KEY=your_secret_key
- Create a
-
Start the development server:
- Open a terminal in the
server
directory and run:
npm start
- Open another terminal in the
client
directory and run:
npm start
- Open a terminal in the
-
Access the website in your browser at
http://localhost:3000
.
The adventure trip planning website relies on the following dependencies:
- Express.js
- Mongoose
- React
- React Router
If you'd like to contribute to this project, please follow these guidelines:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make your changes and commit them with descriptive commit messages.
- Push your changes to your forked repository.
- Submit a pull request to the original repository.
Please ensure that your code follows the project's coding style and includes appropriate documentation.