NUTS-Client is a file-based NATS GUI designed to streamline the development of microservices. It provides a user-friendly interface to interact with NATS, a powerful messaging system commonly used in distributed systems.
To develop and test your NATS client, you will need a running NATS Server. We provide a Python-based service that listens to topics like time
, TP_TEST1
, and TP_TEST2
.
The recommended way to run a NATS Broker is via Docker. You can do so with the following commands:
- Pull the NATS Docker image:
docker pull nats
- Run the NATS Server with JetStream support:
docker run -p 4222:4222 nats -p 4222 --jetstream
This will start the NATS server, listening on port 4222
.
To run the NUTS-Client in development mode, use the following command:
npm run tauri dev
This will start the client in a development environment.
If you want to build the client for debugging purposes, run:
npm run tauri build -- --debug
This will generate a debug build of the client.
To create a release build of the client, use the following command:
npm run tauri build
This will generate a production-ready build of the NUTS-Client.