/weather-station-services

REST API for a DIY weather station.

Primary LanguageTypeScript

Weather Station Services

REST API for a DIY weather station.

Getting Started

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.

Install dependencies

yarn install

Build

yarn build

# to watch for changes to source files
yarn build:dev

Run

yarn start

# to watch for changes to built files
yarn start:dev

Test

# 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

# clean all build output
yarn clean