/tempradar-sensor-api

An API for receiving data from a Tempradar sensor set and storing that data for later querying by clients.

Primary LanguageTypeScriptMIT LicenseMIT

Tempradar Sensor API

Build and deploy

An API for receiving data from a Tempradar sensor set and storing that data for later querying by clients.

View image on Docker Hub

Running

A. Running with Docker

  1. Clone the repository
  2. Start the image using Docker Compose
docker compose -f docker-compose.yml -f docker-compose.dev.yml -p tempradar-sensor up --remove-orphans -d --build

Note: This command starts the application in development mode. If you want to run in production, omit loading docker-compose.dev.yml

Note: This command will run the application in detached mode.

B. Running without Docker

  1. Clone the repository
  2. Copy the .env.example file to .env and fill in your environment variables
  3. Install dependencies using npm install
  4. Start Nest's development server using npm run start

See also

License

This project is MIT licensed.