xtablo-source/go-backend
Arthur Belleville 8bcf81a3f1
Add co-located CSS sources and semantic token infrastructure to Go
backend

Create the foundational structure for managing design-system CSS with
co-located sources and semantic tokens:

- Add `cmd/buildstyles` to concatenate ordered CSS sources into a single
  shipped stylesheet
- Define semantic color and effect tokens in `internal/web/ui/base.css`
- Move primitive and catalog CSS sources from `static/css/` to
  co-located locations under `internal/web/ui/`
- Update test contract to verify token presence and proper stylesheet
  generation
- Regenerate `static/styles.css` with new semantic token layer and
  source annotations
2026-05-10 11:47:42 +02:00
..
cmd Add co-located CSS sources and semantic token infrastructure to Go 2026-05-10 11:47:42 +02:00
internal Add co-located CSS sources and semantic token infrastructure to Go 2026-05-10 11:47:42 +02:00
static Add co-located CSS sources and semantic token infrastructure to Go 2026-05-10 11:47:42 +02:00
.air.toml Build go-backend auth app with Podman dev flow 2026-05-08 12:08:53 +02:00
.env.example Build go-backend auth app with Podman dev flow 2026-05-08 12:08:53 +02:00
compose.yaml Build go-backend auth app with Podman dev flow 2026-05-08 12:08:53 +02:00
go.mod Update templ 2026-05-10 11:23:48 +02:00
go.sum Update templ 2026-05-10 11:23:48 +02:00
justfile Update templ 2026-05-10 11:23:48 +02:00
main.go Build go-backend auth app with Podman dev flow 2026-05-08 12:08:53 +02:00
package.json feat: add go-backend design system and tablos UI 2026-05-09 20:18:24 +02:00
README.md Build go-backend auth app with Podman dev flow 2026-05-08 12:08:53 +02:00
router.go Add spacing, update catalog, and make several improvements to the tablo: 2026-05-10 10:37:47 +02:00
router_test.go feat: toggle overview projects with vanilla js 2026-05-09 21:46:56 +02:00
sqlc.yaml Build go-backend auth app with Podman dev flow 2026-05-08 12:08:53 +02:00
tailwind.input.css feat: add go-backend design system and tablos UI 2026-05-09 20:18:24 +02:00
tools.go Build go-backend auth app with Podman dev flow 2026-05-08 12:08:53 +02:00

go-backend

Local Postgres

Start Postgres with Podman:

just db-up

Reset the local database volume and reinitialize the schema:

just db-reset

The database is exposed at localhost:5432 and initialized from internal/db/schema.sql. The local workflow uses podman compose. If your global Docker config contains corporate credential helpers, the just recipes isolate compose with a local DOCKER_CONFIG to avoid unrelated registry auth hooks on public image pulls. Fresh database volumes are also seeded from internal/db/seed.sql with demo@xtablo.com / xtablo-demo.

Connection string:

export DATABASE_URL=postgres://xtablo:xtablo@localhost:5432/xtablo?sslmode=disable

Run the app with hot reload:

just dev

Other useful commands:

just generate
just test
just build
just check
just db-logs
just db-down