0.4.3 • Published 3 years ago

journey-service v0.4.3

Weekly downloads
2
License
ISC
Repository
-
Last release
3 years ago

Journey service

Role in the watertaxi eco system

This service manages all the individual journeys of users. A journey includes all the legs a passenger has to travel to go from a to b. A leg can be for example a walk, a taxi ride or a car taxi. This service combines the several legs into a single journey and presents it to the user.

Depends

|---|---| |Depends on | Description| |---|---| |App-Framework| Provides the core app services | | Google maps API | Used for computing walking routes from address | | Planning service | For requesting planning options | |---|---|

Getting started

  1. Clone this repo as part of the development repo.
  2. Run the startup scripts in wtxr development repo to setup the database
  3. Start the docker from the wtxr repo or use npm start. In development the application will automatically apply any migrations to the database

Handy commands

  • Migrations can be performed by passing migrate after the startup command: npm start -- migrate
  • Start debugging: npm run debug