luomus / laji-api

New LajiApi, still in prototype phase

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Description

The new FinBIF API, that FinBIF will slowly migrate to.

Development

Check the wiki for higher level documetation.

Stack

Nest

Installation

$ npm ci

Fill in .env file, using .env.example as as template.

You need to also install the oracle instantclient. Follow the instructions at https://node-oracledb.readthedocs.io/en/latest/user_guide/installation.html#instzip

Run

$ LD_LIBRARY_PATH=/opt/oracle/instantclient npm run start:dev

Test

Unit tests

Unit tests coverage so far only some core logic. They act as documentation for how they are supposed to work.

npm test

Integration tests

Currently we rely on the e2e tests from the old api. Fill in integration-test/config.json and then you can run the tests:

$ LD_LIBRARY_PATH=/opt/oracle/instantclient npm run test:e2e-old

Contact

You can contact us by sending feedback from laji.fi.

License

MIT.

About

New LajiApi, still in prototype phase

License:MIT License


Languages

Language:TypeScript 55.9%Language:JavaScript 43.3%Language:Handlebars 0.7%Language:CSS 0.0%