Core
IoT Backend v2.x
2

Prerequisites #

For this Getting Started, you will need:

Install IoT Platform #

First, you need to initialize and application with a frontend and a backend using the IoT Platform frameworks.

The easiest way is to use the Github Template:

Copied to clipboard!
git clone git@github.com:kuzzleio/template-kiotp-project.git my-iot-project

This template is a monorepo containing both backend and frontend app and using Turborepo.

  • apps/api contains a backend application using Kuzzle and the IoT Backend framework.
  • apps/web contains a frontend application using Vue.js and the IoT Console framework
  • docker-compose.yml is a Docker Compose file to run the external services

You can run your IoT application with the following commands from the root of your project:

Copied to clipboard!
docker-compose up -d

npm install

npx turbo dev

This will run:

  • your backend application on port 7512 (which exposes a Kuzzle API)
  • your frontend application on port 8080