The new FinBIF API, that FinBIF will migrate to.
See breaking changes against the old API
Check the wiki for a more technically detailed documentation.
Fill in .env file, using .env.example as a template.
The app can be ran inside a docker, or directly on the host machine.
Use docker to build & start the app:
npm run dockerHint: The docker container runs any npm script, start:dev being the default. You can run other scripts like so:
npm run docker -- test:e2e-oldInstall the dependencies:
$ npm ciInstall the following:
- Start Redis
- Make sure the Oracle Instant Client is installed at
/opt/oracle/instantclientor adjust the next step accordingly:
$ LD_LIBRARY_PATH=/opt/oracle/instantclient npm run start:devThe UI will be available at http://localhost:3004
Hint: The npm command works also with the aforementioned Docker container. These examples run npm directly for simplicity.
Unit tests cover so far only some core logic. They act also as documentation for how they are supposed to work.
With Docker:
npm run docker -- testWithout Docker:
npm testCurrently we rely on the e2e tests from the old api. Fill in integration-test/config.json and then you can run the tests:
With Docker:
$ npm run docker -- test:e2e-oldWithout Docker:
$ LD_LIBRARY_PATH=/opt/oracle/instantclient npm run test:e2e-oldYou can contact us by sending feedback from laji.fi.
MIT.