Skip to content

Travel Agent simplifies travel planning, enabling users to create accounts and engage with a virtual assistant. Input travel details, and our backend API fetches top hotels, local attractions, and affordable flights from the nearest airport. Save searches in the planner for future use, streamlining the travel planning experience.

Notifications You must be signed in to change notification settings

TravelAgentLLC/TravelAgent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TravelAgent

Travel Agent serves as your dedicated travel planning application. Users can effortlessly create accounts and engage with a virtual travel receptionist. By providing essential details such as the desired destination, departure and return dates, etc., users initiate requests to our backend travel API. The application fetches information on the top 3 hotels, local attractions, and the most budget-friendly flights from their nearest airport. Additionally, users can conveniently save their past searches in a planner for future reference.

Table of Contents

Interface & Features

Sign-Up/Login page

  • Users can create and log in to an account that holds their previous searches' data.

Series of chat options where users input their travel information

  • Users can follow a series of chat options to create a customizable vacation itinerary.

Travel Itinerary

  • A page that displays the three best sights in the areas, hotels, and cheapest flights from your nearest airport.

Option to save Itinerary for later use

  • Users can save the itinerary for specific days and locations for future reference.

Prerequisites

To use TravelAgent, you will need to:

  • Create a MongoDB cluster and copy the URI.
  • Create a .env file within the root of the project.
  • In the env file, create an ATLAS_URI with the copied URI code from MongoDB Atlas.
  • Run npm install in the root directory to install all modules and packages.

Usage

To use TravelAgent effectively, follow these steps:

  1. In the root terminal, type the command npm run dev, and a page should load.

  2. Navigate to localhost:8080/signup and create an account.

Image 2 Image 3

  1. Click option 3 or number 3 on your keyboard for the first option and type a city you would like to travel to in the United States.

Image 4

  1. Click option 3 or number 3 on your keyboard for the second option and type a date you would like to fly out in this format “xx/xx/xx”.

Image 5 (2)

  1. Click option 3 or number 3 on your keyboard for the third option and type a date you would like to return in this format “xx/xx/xx”.

Image 6

  1. Do not touch anything and wait 30 seconds, and the TravelAgent should lead you to a custom itinerary made for you.

Image 7

  1. If you would like to save an itinerary, click the “Add Trip” button at the top left.

  2. If you would like to view your itinerary, click the “View All Trips” button on the top right, or you can just go to localhost:8080/userPage.

Image 8

For Future Iterations

  • Ensure the application retrieves flights based on the server's location aligned with the user's departure point.
  • Exercise caution in location selection to prevent errors, favoring city specificity over states for robust performance.
  • Be mindful when setting date ranges to prevent crashes, avoiding the selection of dates too far into the future.
  • Exercise caution in choosing locations in less populated areas to prevent application crashes.
  • The userPage does not refresh when items are deleted.
  • Users can input anything in the input boxes, leading to potential errors, and the required format is not specified.
  • If you reach the end of the dialogue, the app crashes.
  • Attempting to animate text only works on the first call, and it appears somewhat unusual.
  • The backend lacks proper error handling; the frontend should not crash when errors occur and should inform the user about the issue.
  • We ensured that adding more dialogue is easy, so feel free to expand the lore.

The TravelAgent Team

Developed by:

About

Travel Agent simplifies travel planning, enabling users to create accounts and engage with a virtual assistant. Input travel details, and our backend API fetches top hotels, local attractions, and affordable flights from the nearest airport. Save searches in the planner for future use, streamlining the travel planning experience.

Resources

Stars

Watchers

Forks