Live Build: https://travel-advisor-project.vercel.app/
Travel Advisor is a modern Vite + React application that helps users discover new travel destinations and receive personalized recommendations powered by AI. This guide provides step-by-step instructions for setting up the project locally and deploying it.
Note: The Tripadvisor backend for this project is deployed using Express on Vercel. To view the source code for the backend, check out the TripAdvisor Backend Repository.
Watch our full project presentation here:
👉 Video Presentation on Google Drive
Here is our Project's Final Report:
👉 Final Report
Follow these instructions to deploy and run the application on your device.
To begin, clone the repository to your local machine.
-
Open your terminal and navigate to the directory where you'd like to store the project.
- You can use
cd
to change directories.
- You can use
-
Run the following commands:
git clone https://github.com/f4ncy1zach/group10-finalproject.git cd group10-finalproject
Before proceeding, make sure that Node.js is installed on your machine.
-
To check, run the following command:
node --version
-
If the command outputs a version number (e.g.,
v14.x.x
), you’re good to go. -
If you don’t have Node.js installed, download and install the LTS version from Node.js Official Website.
-
After installation, rerun the command to ensure it's installed correctly.
Once Node.js is set up, run the following command to install the project’s dependencies:
npm install
Before running the app, you need to set up environment variables.
- Create a
.env
file in the root directory of the project and add the following line:VITE_OPENAI_API_KEY=<your-openai-api-key>
🔐 Note: Replace
<your-openai-api-key>
with your actual OpenAI API key.
Now that everything is set up, you can run the application.
-
Use the following command to start the development server:
npm run dev
-
Once the application is running, you should see an output similar to this:
-
You can either click the link provided in the terminal or manually enter it in your preferred web browser.
- Ensure that all previous steps have been followed exactly. If you encounter any issues, verify each step carefully.
- This project utilizes Vite for fast build times and hot module replacement, which makes the development process faster.
You can view the deployed version here:
👉 https://travel-advisor-project.vercel.app/
Happy travels!