openTdataCH / ojp-gr-trip-planner

MIT License
0 stars 0 forks source link

OJP GR Trip Planner


technic-overview

License

This is the source-code repository used for developing the OJP GR Trip Planner.

Quick Resources

Prerequisites

Install

Make sure you already have node.js and npm or yarn installed in your system.

Config

Check the config folder to customize your settings (/src/config)

Local Development

Run the server locally. It will be run with Nodemon and ready to serve on port 8080 (unless you specify it i /src/config/index.ts)

 yarn dev # or npm dev

Check package.json to see more "scripts"

Production

First, build the application.

 yarn build # or npm run build

Then, use pm2 to start the application as a service.

 yarn service:start # or npm run service:start

License

The project is released under a MIT license.

Copyright (c) 2021 - 2023 Open Data Platform Mobility Switzerland - opentransportdata.swiss.