TravelSquad is a mobile-first fullstack application designed to simplify group travel planning. It allows users to create trips, build shared itineraries, split expenses and get real-time updates — all in one app. Perfect for friends, family, or roommates planning vacations or weekend getaways.
- Create Trips – Create new trips
- Itinerary Builder – Add events with date, time, and location
- Expense Tracker – Split expenses evenly or custom, with debt tracking
- Trip Summary – Overview of total expenses, activities, and members
| Layer | Tools & Libraries |
|---|---|
| Frontend | React Native (Expo) |
| Backend | Node.js + Express |
| Database | MySQL |
| Auth | Firebase Auth |
TravelSquad/
├── backend/
│ ├── database.sql
│ ├── index.js
│ └── package.json
├── frontend/
│ ├── components/
│ ├── screens/
│ ├── navigation/
│ └── package.json
├── idea.md
└── README.md
Follow these instructions to set up and run the project locally.
- Node.js (v14 or higher)
- npm
- MySQL installed and running
- Expo Go app on your mobile device (or an emulator)
-
Navigate to the backend directory:
cd backend -
Install dependencies:
npm install
-
Set up environment variables:
- Create a
.envfile in thebackenddirectory. - Copy the contents from
.env.exampleand update the values (especially database credentials).
- Create a
-
Set up the database:
- Create a MySQL database named
travelsquad. - Import the schema from
database.sql.
- Create a MySQL database named
-
Start the server:
npm run dev
The server should be running on
http://localhost:3001.
-
Navigate to the frontend directory:
cd frontend -
Install dependencies:
npm install
-
Set up environment variables:
- Create a
.envfile in thefrontenddirectory. - Copy the contents from
.env.exampleand update the values (Firebase config and API URL). - Note: Ensure
API_URLpoints to your backend's IP address (e.g.,http://192.168.1.5:3001) if testing on a physical device, aslocalhostwill not work from the phone.
- Create a
-
Start the Expo development server:
npm start
-
Run on device/emulator:
- Physical Device: Scan the QR code with the Expo Go app.
- Emulator: Press
afor Android orifor iOS (macOS only).
This project is for educational purposes.