mirror of
https://github.com/openTdataCH/ojp-gr-trip-planner.git
synced 2026-12-04 13:08:50 +00:00
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%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .github | ||
| .idea | ||
| __tests__ | ||
| docs | ||
| src | ||
| .babelrc | ||
| .env.example | ||
| .eslintrc | ||
| .gitignore | ||
| .prettierrc | ||
| ecosystem.config.js | ||
| jest.config.js | ||
| LICENSE | ||
| nodemon.json | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
| tslint.json | ||
| yarn.lock | ||
OJP GR Trip Planner

This is the source-code repository used for developing the OJP GR Trip Planner.
Quick Resources
- https://opentdatach.github.io/ojp-demo-app/ - The Demonstrator to see live functionality (Radiobutton GR Test)
- docs - In-Depth documentation of the project
- GitHub Repo - Repository to codebase
Prerequisites
Install
Make sure you already have
node.jsandnpmoryarninstalled in your system.
Config
- Add or modify specific variables and update it according to your need.
Check the
configfolder 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.jsonto 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.