Travel Itinerary Backend
by Shirisha-16
A backend system to manage travel itineraries, including hotel stays, transfers, activities, and day-wise plans. It also includes a recommendation endpoint via an MCP server.
Last updated: N/A
What is Travel Itinerary Backend?
This is a backend system built with FastAPI and SQLAlchemy for managing travel itineraries. It handles hotel stays, transfers, activities, day-wise plans, and provides itinerary recommendations.
How to use Travel Itinerary Backend?
- Clone the repository. 2. Create a virtual environment. 3. Install dependencies using
pip install -r requirements.txt
. 4. Run the server usinguvicorn app.main:app --reload
. 5. Seed sample data (optional) usingpython -m app.seed
.
Key features of Travel Itinerary Backend
Create and view trip itineraries
Day-wise hotel accommodations, transfers, and activities
Recommended itineraries (MCP logic) based on number of nights
Sample data seeded for Phuket and Krabi
Use cases of Travel Itinerary Backend
Managing personal travel itineraries
Building travel planning applications
Providing itinerary recommendations to users
Integrating with other travel services
FAQ from Travel Itinerary Backend
What database is used?
What database is used?
SQLite is used as a lightweight database.
What is FastAPI?
What is FastAPI?
FastAPI is a modern, fast (high-performance), web framework for building APIs with Python 3.7+ based on standard Python type hints.
What is SQLAlchemy?
What is SQLAlchemy?
SQLAlchemy is a Python SQL toolkit and Object Relational Mapper that gives application developers the full power and flexibility of SQL.
How are itinerary recommendations generated?
How are itinerary recommendations generated?
Itinerary recommendations are generated using MCP (presumably a recommendation algorithm) based on the number of nights.
Can I use a different database?
Can I use a different database?
Yes, you can configure SQLAlchemy to use other databases like PostgreSQL or MySQL by modifying the database connection settings.