Skip to content

xtox-io/xtox

Repository files navigation

xtox

Let's develop together.

Subscribe to see development of a scalable platform using Go

Subscribe on Polar

setup

please install the following tools

structure

general structure and architecture

  • client : responsible for frontend (web)
  • server : responsible for backend
  • services : responsible for lambda

development

please run below to open project in vscode

go work init
go work use client
go work use server
go work use services

go best practices advises not to commit go.work files to git

please run below to start/stop platform using docker-compose

make create-network # start the network (only once)
make start          # start the platform
make watch          # start the platform and watch changes 
make stop           # stop the platform

make delete-network # delete network
make delete-data    # delete data

make logs           # check docker logs

use make start or make watch you can run make logs to see all logs you can run docker ps -a && docker logs {id} to see instance logs