This is the source-code repository used for developing the OJP GR Trip Planner.
Make sure you already have
node.js
andnpm
oryarn
installed in your system.
Check the
config
folder to customize your settings (/src/config
)
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"
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
The project is released under a MIT license.
Copyright (c) 2021 - 2023 Open Data Platform Mobility Switzerland - opentransportdata.swiss.