Skip to content

UnionInternationalCheminsdeFer/OSDM-demo-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Contributors Forks Stargazers Apache V2 License


OSDM

Happy flow demonstrator utilizing the Open Sales and Distribution Model
Check the OSDM Website »


Table of Contents
  1. About The Project
  2. Setting up development enviroment
  3. Roadmap
  4. License
  5. Contributors

About The Project

To showcase the power of OSDM the Demo App aims to provide a working app to interesting parties to start implementing their apps and clients. The app covers the complete booking flow, including ancillary services, and supports trains, buses or other means of public transport. The code found here is the second implementation based on the results of the Drei-Länder-Hack 2024. Further development includes the implementation of seat reservations and after-sales

(back to top)

Built With

This project was build with:

Typescript Vue Tailwind Vite

Utilizing SBB-Components

(back to top)

Setting up development environment

This is a short guide to setup your own development environment of the OSDM Demo App.

  1. To start of clone the Repo:

    $ git clone [email protected]:UnionInternationalCheminsdeFer/OSDM.git
  2. Install all dependencies of the Demp App:

    $ cd demo-app
    $ npm install
  3. Setup enviroment:

    $ echo VITE_REQUESTOR_HEADER=osdm_demo_app > .env

    You might set a different requestor - giving the sandbox context about the client - if needed.

  4. Starting the App:

    $ npm run dev

    (back to top)

  5. Enter Sandbox credentials:

    To explore the App, a sandbox with client-id and client-secret is required (entered at the landing page of the app), you can check all available sandboxes here.

Roadmap

Potential next features include:

  • Add seat reservations
  • Add refund flow
  • Add exchange details flow

If you consider contributing to any of these topics of want to request a feature please open an issue.

(back to top)

License

Distributed under the Apache V2. See the LICENSE file for more information.

(back to top)

Contributors

TheNewCivilian (xatellite), schlpbch (SBB), zdmx (xatellite), jspetrak (Bileto)

(back to top)