https://github.com/0xor1/tlbx
tlbx a web app lib
https://github.com/0xor1/tlbx
framework webapi webapp website
Last synced: 3 months ago
JSON representation
tlbx a web app lib
- Host: GitHub
- URL: https://github.com/0xor1/tlbx
- Owner: 0xor1
- License: mit
- Created: 2019-10-08T21:25:06.000Z (over 6 years ago)
- Default Branch: develop
- Last Pushed: 2023-03-05T20:08:47.000Z (about 3 years ago)
- Last Synced: 2024-06-19T19:40:16.116Z (almost 2 years ago)
- Topics: framework, webapi, webapp, website
- Language: Go
- Homepage:
- Size: 7.53 MB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 52
-
Metadata Files:
- Readme: ReadMe.md
- License: License
Awesome Lists containing this project
README
tlbx [](https://coveralls.io/github/0xor1/tlbx)
====
## 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 ` 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](https://github.com/0xor1/tlbx/tree/develop/cmd/todo) - typical todo list demo app, the most simple/minimal demo fo tlbx framework
* [games](https://github.com/0xor1/tlbx/tree/develop/cmd/games) - a multiplayer turn based game site
* [trees](https://github.com/0xor1/tlbx/tree/develop/cmd/trees) - a project management app where tasks are stored in a tree structure