This is a simple template which contains a todo app for bootstrapping a new Go web application project. It ues:
- Go as the programming language.
- HTML Templates as the template engine.
- HTMX as the front-end framework.
- SQLite or PostgreSQL as the database.
- Clone this repository.
git clone https://github.com/AlchemillaHQ/gotham-stack.git
- Install the dependencies.
go mod download
- Create a configuration file.
cp config.example.json config.json
- Run the application.
go run main.go
For both testing and building we use a Makefile. To run the tests:
make test
To build the application:
make build
It should create binary files for some common platforms in the dist/ directory.