OJP Demo GUI | Read-only mirror of https://github.com/openTdataCH/ojp-demo-app-src — SBB. Issues & pull requests at the source.
  • TypeScript 84%
  • HTML 14.4%
  • SCSS 1.4%
  • JavaScript 0.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-12-03 15:42:45 +01:00
.github/workflows Placeholder is gone 2026-10-06 12:10:56 +02:00
.vscode NG14 update - adds VSCode files 2022-07-21 17:51:17 +02:00
docs Updates URLs 2026-11-06 17:19:40 +01:00
src Updates day footer date 2026-12-03 15:41:40 +01:00
.browserslistrc NG 14 update - other changes 2022-07-21 17:50:42 +02:00
.editorconfig Adds code generated by Angular via ng new 2021-05-26 23:12:13 +02:00
.gitignore NG 14 update - other changes 2022-07-21 17:50:42 +02:00
angular.json Use maplibre-gl assets 2026-10-04 11:39:54 +02:00
CHANGELOG.md Updates CHANGELOG 2026-12-03 15:41:53 +01:00
karma.conf.js Adds code generated by Angular via ng new 2021-05-26 23:12:13 +02:00
LICENSE.txt Adds LICENSE - fix for #14 2021-07-29 22:13:39 +02:00
package-lock.json npm install 2026-11-30 22:21:28 +01:00
package.json use turf nearest point 2026-11-30 22:21:11 +01:00
README.md No more need to get a Mapbox token 2026-10-06 12:57:15 +02:00
tsconfig.app.json Hello OJP SDK requirements 2021-06-03 21:53:26 +02:00
tsconfig.json Improve lib, use latest 2025-06-24 16:06:56 +02:00
tsconfig.spec.json Adds code generated by Angular via ng new 2021-05-26 23:12:13 +02:00

OJP Demo App

This is the source-code repository used for developing and deploying OJP Demo web-application.

OJP_Demo

Quick Resources

Install & Development server

Requirements:

  • Node.js, npm
  • Angular, version 14.x was used to generate this project via ng new CLI command.

Installation steps:

  • clone this repo
  • install dependencies via npm
npm install
# src/app/config/app-config.local.ts

...

// OJP 2.0
'V2-PROD': {
    url: 'https://api.opentransportdata.swiss/ojp20',
    authToken: 'PLACEHOLDER_REPLACE__PROD',
},

...
  • serve local development server
ng serve

License

The project is released under a MIT license.

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