Skip to content

This is a system booking for taxi service. It includes 3 main parts: customer app, driver app and call center web app.

Notifications You must be signed in to change notification settings

minhthao56/monorepo-taxi

Repository files navigation

System Booking

This is a system booking for taxi service. It includes 3 main parts: customer app, driver app and call center web app.

Demo

Alt Text

Install dependencies (Only support for Linux and MacOS)

Backend

Frontend - Mobile

Environment variables

Customer app and Driver app

Create .env in folder clients/customer and clients/driver and fill in the following variables:

  • EXPO_PUBLIC_GOOGLE_API_KEY=your_google_api_key
  • EXPO_PUBLIC_BASE_URL=http://api.cheap-taxi.me/
  • EXPO_PUBLIC_GOONG_KEY=your_goong_key

Call center web app

Create .env in clients/call-center and fill in the following variables:

  • REACT_APP_BASE_URL=http://api.cheap-taxi.me/
  • REACT_APP_TWILIO_ACCOUNT_SID=your_twilio_account_sid
  • REACT_APP_TWILIO_AUTH_TOKEN=your_twilio_auth_token
  • REACT_APP_TWILIO_BASE_URL=http://api.cheap-taxi.me/
  • REACT_APP_GOONG_ACCESS_TOKEN=your_goong_access_token
  • REACT_APP_PUBLIC_GOOGLE_API_KEY=your_google_api_key

Setup (Only support for Linux and MacOS)

Backend

  1. Run yarn install in project root directory
  2. Run ./scripts/start_local.bash in project root directory to start local development environment
  3. Run kubectl get pods to check if all pods are running
  4. Run ./scripts/expose_port.bash to expose port to localhost

Frontend - Mobile

  1. Run yarn install in project root directory
  2. Run yarn start:c to start customer app
  3. Run yarn start:d to start driver app
  4. Run make start-frontend to start call center web app

About

This is a system booking for taxi service. It includes 3 main parts: customer app, driver app and call center web app.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published