REST API for a DIY weather station.
Copy example.env
and rename to .env
. Fill out the variables with the appropriate values. Some have defaults, and can be found in src/environment.ts
.
yarn install
yarn build
# to watch for changes to source files
yarn build:dev
yarn start
# to watch for changes to built files
yarn start:dev
# run the linter
yarn lint
# to automatically fix linting issues
yarn lint:fix
# run tests
yarn test
# to watch for changes
yarn test:dev
# clean all build output
yarn clean