Files
gardentron/server
2023-06-17 11:32:02 +02:00
..
2023-05-21 17:25:42 +02:00
2023-06-17 11:32:02 +02:00
2023-06-17 11:32:02 +02:00
2023-05-21 16:33:44 +02:00
2023-05-21 17:25:42 +02:00
2023-05-21 17:25:42 +02:00
2023-05-21 17:25:42 +02:00
2023-05-21 17:25:42 +02:00
2023-05-21 17:25:42 +02:00

server

The server for handling two way communication with a iot Device

About

This project uses Express. An open source framework for building APIs and applications.

Getting Started

  1. Make sure you have NodeJS and npm installed.

  2. Install your dependencies

    cd path/to/server
    yarn
    
  3. Start your app

    yarn build # Compile TypeScript source
    yarn migrate # Run migrations to set up the database
    yarn start
    

Testing

Run yarn test and all your tests in the test/ directory will be run.