Skip to content

gestanestle/aizm

Repository files navigation

AIZM Control and Monitoring System

Main paper: AIZM_IEEE.pdf

The web application must run alongside the AIZM hardware machine whose source code and schematic are provided inside the /firmware directory.

Website preview Website preview
image image

This app uses the following libraries:

Development

Run a local instance of ngrok to expose the Next.js app running on http://localhost:3000 to auth webhooks.


Create a Clerk application. Add the public host provided by ngrok and append the api/users endpoint.


Tick the events related to user to receive user events.


Copy the API Keys to .env.local. Refer to .env.example for the required environment variables.

Go Server

A dedicated Go server is needed for this project to continuously monitor the status updates broadcasted by ESP32 devices through an MQTT broker. This server operates non-stop and is housed in the repository found here.

Database

This application uses Timescaledb. Run a local or docker instance of timescaledb with the schema provided in ./sql/schema.sql.

If you want to initialize a seeded dockerized database to see the UI in action, run the following command:

docker-compose up -d

Note: Make sure to have Docker and Docker Compose installed in your system.

Get started

Install the dependencies:

pnpm install

Run in dev mode:

pnpm dev

Open the app in browser:

http://localhost:3000

About

Control and monitoring system for AIZM Machine

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors