Skip to content

🧩See your system information momentarily and side by side like mosaics

License

Notifications You must be signed in to change notification settings

pooulad/infomosaic

Repository files navigation

infomosaic_logo

See your system information momentarily and side by side like mosaics🧩

Minimal 🔌websocket project written with Golang and Reactjs

infomosaic_screen_dark infomosaic_screen_light

How to use:

⚠️ Before use: do not forget to add .env file .it is necessary for docker compose file and golang main file. best sample:

.env file.

INFOMOSAIC_PORT=8080
INFOMOSAIC_CLIENT_PORT=3000

🐳Run with Docker:

1.

git clone https://github.com/pooulad/infomosaic.git

2.

cd ./infomosaic

3.

docker compose up -d --build

These commands create 2 separate services for front-end and back-end, both of which are ready to work with each other

✅client container : infomosaic-client-container
✅server container : infomosaic-server-container

You can check logs with this command:

docker compose logs

✋Run manually:

1.

git clone https://github.com/pooulad/infomosaic.git

2.

cd ./infomosaic

3.

go mod tidy
go run ./cmd/main.go

You should see this log in terminal:

Starting Infomosaic🧩 server on port YOUR_PORT

Open another terminal and run:

4.

cd ./frontend
yarn install
yarn dev

Now your client is runnig too. enjoy it🤠

Releases

No releases published

Packages

No packages published