Skip to content

Travel Planning Platform with Next.js and OpenAI GPT-4. Facilitated an easy-to-use drag and drop itinerary planner, allowing users to visually organize their travel schedule.

Notifications You must be signed in to change notification settings

wei30172/fullstack-app-travello-v2

Repository files navigation

Travel Planning Platform with Next.js and OpenAI GPT-4

Facilitated an easy-to-use drag and drop itinerary planner, allowing users to visually organize their travel schedule.

1.Trello-Inspired Interface: Familiar drag-and-drop functionality for intuitive travel scheduling.

2.AI-Driven Recommendations: Provides AI-generated travel suggestions for travel planning.

3.Share Trips with Other Users: Easily share your trips with friends or family via generated links.

Project Screenshots

Travel planning platform homepage The homepage of the travel planning platform, providing users with an overview and navigation options.

List of trips Displays all saved trips, allowing users to view, select their trips.

Create a new trip The interface for creating a new trip, allowing users to input basic details and start organizing.

Automatically generated day lists The system automatically generates day lists for the trip after the initial trip creation.

Update trip card The user can update information on individual trip cards such as notes.

Select trip cover Users can upload or select a cover image for their trip to personalize it.

Mark trip as done or add tags Allows users to mark a trip as completed or add color tags for better organization.

Update trip information Allows users to edit the general information for a trip, including trip title, dates, and details.

Ask AI for travel recommendations Users can ask AI for travel recommendations to assist in planning their trip.

Auto-generate trip cards The platform generates trip cards based on AI-generated suggestions, simplifying the planning process.

Share trip link via email Users can share a trip link with others through email for easy collaboration.

Drag entire day list The drag-and-drop interface allows users to rearrange entire day lists within their trip itinerary.

Drag single trip card Users can drag and rearrange individual trip cards to adjust their travel schedule.

Delete trip Users can delete a trip, removing it from their saved list.

Restore deleted trip Users can restore a previously deleted trip from the archive.

Create a user account The registration page for creating a new account on the platform.

2FA email verification The platform supports two-factor authentication (2FA) via email for added security.

Change password via email Users can request a password change through email verification to update their credentials.

Reset password via email The interface for resetting a forgotten password through email verification.

Update user profile Users can update their personal information, such as preferences.

Toggle dark mode The platform supports toggling between light and dark modes for user preference.

Environment Setup

Create a .env file in the root directory and add the following variables:

NEXT_PUBLIC_APP_URL="http://localhost:3000" or "YOUR_NEXT_PUBLIC_APP_URL"

AUTH_SECRET="YOUR_AUTH_SECRET"

MONGODB_URI="YOUR_MONGODB_URI"

GOOGLE_CLIENT_ID="YOUR_GOOGLE_CLIENT_ID"
GOOGLE_CLIENT_SECRET="YOUR_GOOGLE_CLIENT_SECRET"

OPENAI_API_KEY=="YOUR_OPENAI_API_KEY"

TOKEN_SECRET="YOUR_TOKEN_SECRET"

EMAIL_USER="YOUR_EMAIL_USER"
EMAIL_PASSWORD="YOUR_EMAIL_PASSWORD"

AWS_APP_ACCESS_KEY="YOUR_AWS_APP_ACCESS_KEY"
AWS_SECRET_ACCESS_KEY="YOUR_AWS_SECRET_ACCESS_KEY"
AWS_BUCKET_NAME="YOUR_AWS_BUCKET_NAME"
AWS_BUCKET_REGION="YOUR_AWS_BUCKET_REGION"

GOOGLE_CLIENT_ID & GOOGLE_CLIENT_SECRET

Getting Started

This is a Next.js project bootstrapped with create-next-app.

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.

This project uses next/font to automatically optimize and load Inter, a custom Google Font.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.

About

Travel Planning Platform with Next.js and OpenAI GPT-4. Facilitated an easy-to-use drag and drop itinerary planner, allowing users to visually organize their travel schedule.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages