Variables that are used as defaults across all implementations of the service are decalred in the base .env
file.
.env
NW_GLOBAL_ENDPOINT=https://api.netwatcher.io:8080
Variables intended to override global variables in .env
, or variables related to the implementattion should be specific in a per-invocation .env.local
file and should not be pushed to the repository.
.env.local
NW_ENDPOINT=https://api.myguardianinstance.org:8080
Project Setup
npm install
npm run dev
npm run build
Run Unit Tests with Vitest
npm run test:unit