Skip to content

Latest commit

 

History

History
75 lines (63 loc) · 4.33 KB

README.md

File metadata and controls

75 lines (63 loc) · 4.33 KB

TripSmart

alt text
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.

Getting Started

Prerequisites

  1. 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.

  2. To start the application on the machine, you must have the following environment setup in your machine. The installation guide is attached for reference.

  1. 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
  1. 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.

Start Application

  1. First, install node dependencies for the application.
  • cd frontend
  • yarn
  1. Then, start the program (expo server and Flask Grab scrapper server).
  • yarn starts
  1. Lastly, use your mobile phone / android emulator to access the application. If you need guide for opening Expo application, click here.

File Structure

~
├── 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

Tech Used

Final Report

(Link)

Diagrams

(Link)

Demo Video

(Link)