Introducing TripSmart, a trip aggregator platform that facilitates a cost-effective and efficient mode of transportation selection based on individual commuting preferences.
Our platform consolidates estimated travel time and fare data from multiple transportation sources to enable informed decisions for time and money savings. We aim to support Singapore's smart nation vision by optimizing the transportation industry and encouraging smart mobility, empowering regular commuters with the ability to compare available options.
-
If you are TA and want to start the application, please use the code submitted in the SVN, which lets you to skip step 3.
-
To start the application on the machine, you must have the following environment setup in your machine. The installation guide is attached for reference.
- After that, you must install all the Python dependencies for the Grab scrapper Flask server. You can do this by typing the following:
pip install -r front-end/servers/GrabAPI/requirements.txt
- Lastly, you have to setup the .env file. (Skip this if you are using the code submitted in SVN)
- You will create a new .env file in front-end folder, by copy the .env.example content in the exact same folder.
- Fill in every single line with the proper api key. You will have to request them yourselves. You can get the Google_Maps_Api_Key here.
- First, install node dependencies for the application.
cd frontend
yarn
- Then, start the program (expo server and Flask Grab scrapper server).
yarn starts
- Lastly, use your mobile phone / android emulator to access the application. If you need guide for opening Expo application, click here.
~
├── Deliverables # Lab deliverables
│ ├── Lab2 # Lab 2 deliverables
│ ├── Lab3 # Lab 3 deliverables
| ├── Lab5 # Lab 5 deliverables (latest)
├── Miscellaneous # Unused code, contains testing and development code
├── front-end # Codebase
│ ├── assets # Img used in app
│ ├── components # Boundary Classes Helper
| ├── controller # Controller Classes
| ├── locales # Language File
| ├── screens # Boundary Classes
| ├── servers # Web scrapping server
│ ├── services # APIs Helper
│ └── types # Custom Type
├── .gitignore
└── README.md