Warning
This is a proof of concept and is not yet intended for production usage. It is incomplete and requires testing and validation.
- Node / NPM (v14.20.0 / 8.19.2 used for development)
- BC Route Planner API Key
- A blank, editable travel authorization form PDF
- Copy and rename
.env.sampleto.env. Open.envand add yourROUTE_PLANNER_API_KEY - Add a blank, editable travel authorization form to the project root. Rename this form to
travel-auth-form.pdf - Install node modules using
npm i - Run application using
npm start - Visit home page by opening
http://localhost:3000in a web browser.
Once the application is running, you can generate an individual form by filling in travel details. A travel authorization form will be generated with costs automatically calculated and inserted.
You can upload a CSV to generate forms for multiple travelers. Select Browse..., select your input .csv, and then select Upload and Generate to begin. After some time, a download will begin containing a zip with all TA forms. See the travel_auth_sample.csv for a sample of how the input .csv should look. You can also use this file for testing.