Skip to content
/ laji Public

Frontend for Finnish Biodiversity Information Facility (FinBIF) data portal laji.fi (and other *.laji.fi frontends)

License

Notifications You must be signed in to change notification settings

luomus/laji

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laji.fi frontend

This is the frontend for laji.fi. Api used and it's documentation can be found at api.laji.fi.

This repo contains 3 main branches. Follow guidelines set in wiki for developing.

Development server

Installation

Make sure to use the correct node version marked in .nvmrc. You can use for example volta or nvm.

Install the dependencies:

npm ci

Running

npm start

Go with your browser to http://localhost:3000/

API proxy configuration

By default the app proxies api requests through https://dev.laji.fi/api. You can configure the api base and the access token with .env file:

API_BASE=https://apitest.laji.fi
ACCESS_TOKEN=<Your access token>

Running end-to-end tests

  1. Add the following to .env file at the root of the repository:
E2E_PERSON_TOKEN=
E2E_USER=
E2E_PASS=
  1. get the credentials to the e2e user from another developer
  2. run npm start to start laji.fi dev server
  3. run npx playwright test (for headless mode), npx playwright test --ui (for headful mode) or use the playwright vscode plugin

Further help

You can contact us by sending feedback from laji.fi

To get more help on the angular-cli use ng --help or go check out the Angular-CLI README.

About

Frontend for Finnish Biodiversity Information Facility (FinBIF) data portal laji.fi (and other *.laji.fi frontends)

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 12