Creator prompt
The idea behind this presentation
# SYNOPSIS
## Project Title
**TravelMate – Trip Expense Tracker & Splitter**
## 1. Introduction
TravelMate is a web-based travel expense management application designed to help individuals and groups manage their trip expenses in a simple and organized way. During group trips, different members often pay for hotels, food, transportation, tickets, shopping, and other activities. Keeping track of these expenses manually can become confusing, especially when multiple people are involved.
TravelMate provides a simple platform where users can create and manage multiple trips, add members, record expenses, calculate the total trip cost, determine each member's fair share, and find out who needs to pay whom. The application also allows users to print or save the trip expense report as a PDF.
## 2. Problem Definition
Managing expenses during a group trip is often difficult because different members pay for different expenses. Manual calculations can lead to mistakes and make it difficult to determine the final amount each person should contribute.
The project aims to provide an easy-to-use system that records expenses and automatically calculates the total amount, individual contribution, fair share, and settlement between group members.
## 3. Objectives
The main objectives of TravelMate are:
* To provide a simple platform for managing travel expenses.
* To allow users to create and manage multiple trips.
* To add multiple members to each trip.
* To record expenses according to the person who paid them.
* To automatically calculate the total trip expense.
* To calculate the fair share for each member.
* To show individual payment balances.
* To calculate direct settlements such as who pays whom.
* To provide options to edit and delete expenses.
* To preserve trip data using browser local storage.
* To generate a printable trip expense report.
## 4. Proposed System
The proposed system provides a centralized interface for managing expenses of different trips.
A user can create a trip by entering the trip name, destination, and group members. Expenses can then be added by selecting the member who paid, expense name, category, amount, and date.
The application automatically updates the financial summary whenever an expense is added, edited, or deleted. Users can switch between previously created trips without losing their stored information.
For example, if three members spend different amounts during a trip, TravelMate calculates the total expense and determines the amount each person should finally contribute. Members who have paid more than their fair share are shown as creditors, while members who have paid less are shown as debtors.
## 5. Main Features
### 5.1 Multiple Trip Management
Users can create and maintain multiple independent trips. Each trip has its own members and expenses.
### 5.2 Group Member Management
Users can add multiple members to a trip and select the appropriate member while recording an expense.
### 5.3 Expense Management
Users can record expenses with:
* Expense name
* Person who paid
* Category
* Amount
* Date
Existing expenses can also be edited or deleted.
### 5.4 Expense Categories
Expenses can be organized into categories such as:
* Food
* Hotel / Stay
* Travel
* Activities
* Shopping
* Other
### 5.5 Automatic Calculation
The system calculates:
* Total trip expense
* Average/fair share per person
* Total amount paid by each member
* Individual balance
The basic calculation for fair share is:
**Fair Share = Total Trip Expense ÷ Number of Members**
### 5.6 Who Owes Whom
The application generates a simple settlement between members. For example:
**Rahul pays Honey ₹1,000**
This makes the final settlement easier to understand.
### 5.7 Data Persistence
Trip and expense information is stored using browser **Local Storage**, allowing data to remain available after refreshing or reopening the browser.
### 5.8 Print and PDF Report
Users can print the currently selected trip's expense report. The browser's print option can also be used to save the report as a PDF.
## 6. Tools and Technologies Used
### Frontend
* **HTML5** – Structure of the web pages
* **CSS3** – Styling, layout, responsiveness, and print formatting
* **JavaScript** – Application logic, calculations, trip management, and user interactions
### Storage
* **Browser Local Storage** – Persistent storage of trip and expense data
### Development Tools
* **Visual Studio Code** – Code development and project management
* **Web Browser** – Running and testing the application
* **Git/GitHub** – Version control and project hosting
## 7. System Modules
The project consists of four main pages/modules:
### 1. Home
Provides an introduction to TravelMate and allows users to navigate through the application.
### 2. Destinations
Displays available travel destinations and provides an option to start planning a trip.
### 3. Your Budget / Trip Expenses
This is the main module of the project. It provides:
* Multiple trip management
* Member management
* Expense entry
* Expense history
* Financial summary
* Fair-share calculation
* Settlement calculation
* Print/PDF report
### 4. About Us
Provides information about the project team and relevant social/contact links.
## 8. Methodology
The application follows a simple client-side architecture.
1. User creates a new trip.
2. Trip members are added.
3. Expenses are entered by the respective members.
4. JavaScript processes and stores the expense information.
5. The total trip expense is calculated automatically.
6. Fair share is calculated based on the number of members.
7. Individual balances are generated.
8. The settlement module determines the required payments between members.
9. Data is stored in Local Storage.
10. The user can switch between trips or print the selected trip report.
## 9. Advantages
* Simple and user-friendly interface.
* Supports multiple trips.
* Reduces manual calculation errors.
* Provides organized expense history.
* Automatically calculates individual balances.
* Makes group settlement easier.
* Data remains available after page refresh.
* No external database is required for the current version.
* Can generate a printable/PDF report.
* Works on desktop and mobile screens.
## 10. Limitations
The current version uses browser Local Storage. Therefore, trip data is stored locally on the device and browser being used. It does not automatically synchronize expenses between different users or devices.
For example, if one member adds an expense on their phone, it will not automatically appear on another member's phone.
## 11. Future Scope
The project can be further enhanced by adding:
* User accounts and authentication.
* Cloud database integration.
* Real-time synchronization between group members.
* Unique Trip ID or invitation link.
* Expense sharing through WhatsApp or other platforms.
* Online backup and data synchronization.
* Receipt/image upload for expenses.
* Expense charts and graphical analytics.
* Notifications for pending payments.
* Currency conversion for international trips.
* Progressive Web App (PWA) support.
## 12. Expected Outcome
The expected outcome of the project is a simple and reliable web application that helps travelers manage their group trip expenses efficiently. TravelMate reduces the need for manual calculations and provides a clear view of total expenses, individual contributions, fair shares, and final settlements.
The application demonstrates how basic web technologies such as HTML, CSS, JavaScript, and Local Storage can be combined to create a practical real-world expense management solution.
## 13. Conclusion
TravelMate provides an effective solution for managing expenses during individual and group trips. Its multiple-trip functionality allows users to maintain separate expense records for different journeys, while automatic calculations make it easy to understand individual contributions and settlements.
The project is designed with simplicity and usability in mind and can serve as a foundation for a more advanced cloud-based travel expense management system in the future.
Follow Design: {"palette":["Lagoon Cyan #0E7490 — primary brand accents and interactive elements","Split Emerald #10B981 — positive balance indicators and settlement badges","Tangerine Flare #F97316 — debtor warnings and active expense callouts","Deep Slate #0F172A — primary titles and high-emphasis body text","Subtle Cloud #F8FAFC — clean slide surface background","Pristine White #FFFFFF — elevated card containers and ledger panels"],"fonts":{"Outfit":"https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap","Inter":"https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,100..900;1,100..900&display=swap"},"type":"Outfit in bold 700 weight with tight letter-spacing for punchy module headers; Inter in regular 400 and medium 500 for tabular transaction logs, financial formulas, and crisp body copy.","layout":"An 8-column mobile-first app grid with ample 64px perimeter margins, balanced dual-column cards for member breakdowns, and fixed-height metric headers.","framework_treatment":"Soft rounded card containers with pill badges for expense categories, directional settlement arrows showing payment flows, and clean tabular ledger components.","feels_like":"A cheerful, modern fintech pitch deck blending Splitwise with Revolut"}