Tour Buddy is a travel support app designed to enhance your travel experience with various features including category-based to-do task lists, currency converter, calculator, language translation, and emergency SOS.
- Category-based To-Do Task List: Organize your tasks by categories such as sightseeing, dining, accommodation, etc., to stay organized during your travels.
- Currency Converter: Easily convert currencies to help you manage your expenses and budget effectively in different countries.
- Calculator: Perform quick calculations while on the go, whether it's budgeting or splitting bills with friends.
- Language Translation: Overcome language barriers with built-in translation features, helping you communicate effectively in foreign countries.
- Emergency SOS: Access emergency assistance quickly with the SOS feature, providing peace of mind during your travels.
-
Clone the repository:
git clone https://github.com/Om-jannu/packurbag.git
-
Navigate into the project directory:
cd packurbag
-
Install dependencies for flutter:
flutter pub get
-
Install dependencies for server:
cd server
npm install
- Create
.env
file inside the server diretory and add : (Note: use appropriate mongo url)
MONGO_URL="mongodb+srv://<username>:<password>@beyondthebasics.abcde.mongodb.net/test"
PORT=5000
- Run server:
npm run dev
Here's a guide for setting up Ngrok and starting port forwarding:
-
Download Ngrok:
- Go to the Ngrok website and sign up for an account if you haven't already.
- Download the Ngrok executable suitable for your operating system.
-
Extract Ngrok:
- Extract the Ngrok executable file from the downloaded archive.
-
Open Terminal/Command Prompt:
- Open a terminal or command prompt window.
-
Start Port Forwarding:
- To start port forwarding, run the following command:
This command starts forwarding traffic from Ngrok's randomly generated public URL to your local server running on port 5000.
ngrok http 5000
- To start port forwarding, run the following command:
-
Copy the public URL.
Note: if ngrok command doesn't work on cmd prompt, try running with admin privileges or sudo privileges
- Choose an emulator
- Change serverIp in
lib/main.dart
file
const serverIp = "<ngrok-public-url>";
example : https://cb4f-103-xxx-xxx-122.ngrok-free.app;
- Run Command
flutter run
If you'd like to contribute to this project, please follow these guidelines:
- Fork the repository.
- Create a new branch (
git checkout -b feature
) - Make your changes
- Commit your changes (
git commit -am 'Add new feature'
) - Push to the branch (
git push origin feature
) - Create a new Pull Request.