tlbx

module
v0.0.0-...-07f0968 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 2, 2022 License: MIT

README

tlbx Coverage Status

fmt & test

./bin/pre

to gen, fmt and test everything.

./bin/pre nuke

to clear out all docker containers and rebuild before gen, fmt and test. (useful if you have a sql schema change and want to recreate your sql db containers).

structure

  • /pkg - reusable packages
  • /bin - util scripts to run/build/test
  • /cmd - executable go programs
  • /sql - sql schemas
  • /docker - docker-compose files for dev environment setup

web apps

tlbx is predominantly for making web apps that follow a similar pattern, to run these apps, simply run ./bin/run <app_name> e.g. ./bin/run todo. This script makes use of tmux to run all the aspects of an app in one terminal screen so you can see everything going on in one place, if you prefer you can simply run the commands in the ./bin/run script manually. If you do install tmux, to kill the development services tmux cmd Ctrl+b & then y to confirm will kill everything.

  • todo - typical todo list demo app, the most simple/minimal demo fo tlbx framework
  • games - a multiplayer turn based game site
  • trees - a project management app where tasks are stored in a tree structure

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL