Skip to content

JNSAPH/NUTS-CLIENT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NUTS-Client

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.


Development

Setting Up a NATS Server

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:

  1. Pull the NATS Docker image:
docker pull nats
  1. 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.


Running the Client in Development Mode

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.


Building the Client in Debug Mode

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.


Building the Client for Release

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.