Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MVP: Setup of the latest otp-react-redux app implementation #206

Merged
merged 4 commits into from
Sep 23, 2024

Conversation

ch-routerank
Copy link
Collaborator

This is the first MVP for the new web-client application based on the latest otp-react-redux app.

In order to maintain a direct link with the upstream application, we've integrated it as a git submodule that can be pulled frequently. This is a workaround around the fact that the library can't be included directly using standard package system such as npm/yarn.

The downside to this approach is that the package.json and yarn.lock file have to be synchronized when the upstream version is updated.

A few files are duplicated within the odh-mentor-otp repository, in lib/app folder, such as app.js, main.js and index.js. These are necessary to setup the react application and to have our own version of these files will allow us to override some configuration or select different components to be provided to the rest of the application.

Setup

In order to test the application, it should be enough to pull the git submodule and run yarn start withn the web-demo folder.

Configuration

We've setup a simple basic configuration for now, taking over a few of the parameters from the previous journey application and connecting to the test instances of pelias and OTP. Further work should still be done here to migrate previous configuration as possible and needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants