Read-only mirror of https://github.com/openTdataCH/ojp-gr-trip-planner — SBB. Issues & pull requests at the source.
  • TypeScript 97.7%
  • JavaScript 2.3%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-06-08 11:18:33 +02:00
.github Add first skeleton 2023-02-27 16:42:22 +01:00
.idea Implement ExchangePoint mapping with PrivateCodes 2023-03-02 10:32:25 +01:00
__tests__ Merge branch 'test-branch-gfels7' of github.com:openTdataCH/ojp-gr-trip-planner into test-branch-gfels7 2023-02-28 09:32:15 +01:00
docs Updated documentation 2023-05-16 10:50:38 +02:00
src Let the server set the cors 2026-06-08 11:18:33 +02:00
.babelrc Add first skeleton 2023-02-27 16:42:22 +01:00
.env.example Add first skeleton 2023-02-27 16:42:22 +01:00
.eslintrc Add first skeleton 2023-02-27 16:42:22 +01:00
.gitignore Update gitignore 2023-05-16 09:17:27 +02:00
.prettierrc Add first skeleton 2023-02-27 16:42:22 +01:00
ecosystem.config.js Add first skeleton 2023-02-27 16:42:22 +01:00
jest.config.js Add first skeleton 2023-02-27 16:42:22 +01:00
LICENSE Add first skeleton 2023-02-27 16:42:22 +01:00
nodemon.json Add first skeleton 2023-02-27 16:42:22 +01:00
package-lock.json Bump vm2 from 3.9.11 to 3.9.19 2023-05-16 09:17:29 +02:00
package.json Update to OJP 0.9.14 2023-06-06 16:53:05 +02:00
README.md Write a first version of the documentation 2023-03-22 11:56:34 +01:00
tsconfig.json [Failed]: Triing to run test and start 2023-02-28 09:18:38 +01:00
tslint.json Add first skeleton 2023-02-27 16:42:22 +01:00
yarn.lock Bump vm2 from 3.9.11 to 3.9.19 2023-05-16 09:17:29 +02:00

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

  • Install the dependencies with yarn or npm.

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

Config

  • Add or modify specific variables and update it according to your need.

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.