This is the frontend for laji.fi. The API and it's documentation can be found at api.laji.fi.
Follow guidelines set in wiki for developing.
- Node.js
- Angular
Make sure to use the correct node version marked in .nvmrc. You can use for example volta or nvm.
Install the dependencies:
npm ciYou must configure the API base and an access token with .env file:
API_BASE=https://apitest.laji.fi
ACCESS_TOKEN=<Your access token>
For login redirection to work, the access token must have systemID KE.542 assigned. If you are not an inhouse developer, ask us to assign the systemID to your token by providing the email you requested the token with to helpdesk@laji.fi.
npm startGo with your browser to http://localhost:3000/
- Add the following to
.envfile at the root of the repository:
E2E_PERSON_TOKEN=
E2E_USER=
E2E_PASS=
- get the credentials to the e2e user from another developer (assuming you are an inhouse developer)
- run
npm startto start laji.fi dev server - run
npx playwright test(for headless mode),npx playwright test --ui(for headful mode) or use the playwright vscode plugin
You can contact us by sending feedback from laji.fi