Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aaron-smits/go-templ-starter
demo project for Go with HTMX/templ/Supabase/Tailwind
https://github.com/aaron-smits/go-templ-starter
cicd docker github-actions go golang htmx make postgres postgresql tailwind tailwindcss
Last synced: about 1 month ago
JSON representation
demo project for Go with HTMX/templ/Supabase/Tailwind
- Host: GitHub
- URL: https://github.com/aaron-smits/go-templ-starter
- Owner: aaron-smits
- Created: 2024-01-18T03:10:03.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-02-01T03:00:20.000Z (11 months ago)
- Last Synced: 2024-02-02T02:09:55.458Z (11 months ago)
- Topics: cicd, docker, github-actions, go, golang, htmx, make, postgres, postgresql, tailwind, tailwindcss
- Language: Go
- Homepage: https://templ-starter.fly.dev/
- Size: 9.02 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# go templ starter
This is a demo project to show how to create a full stack web application using Go, Echo templ, HTMX, Supabase, Postgres and Tailwind CSS.
We use the following tools:
| Category | Technology |
| -------------- | -------------------------------------------------------------------------- |
| Language | [Go](https://golang.org/) |
| Web Framework | [Echo](https://echo.labstack.com/) |
| Templating | [templ](https://github.com/a-h/templ) |
| JavaScript | [HTMX](https://htmx.org/) |
| CSS | [Tailwind CSS](https://tailwindcss.com/) |
| Database/Auth | [Supabase](https://supabase.com/), [PostgreSQL](https://www.postgresql.org/) |
| Build Tools | [Docker](https://www.docker.com/), [Make](https://www.gnu.org/software/make/), [GitHub Actions](https://docs.github.com/en/actions) |## Getting Started
### Prerequisites
- [Docker](https://www.docker.com/)
- [Make](https://www.gnu.org/software/make/)
- [Go](https://golang.org/)### Installation
1. Clone the repo
```sh
git clone https://github.com/aaron-smits/go-templ-starter.git
```2. Set environment variables
```sh
cp .env.dev.example .env
```3. Start the database and the app with docker compose
```sh
make docker
```## todo
### p0
- [ ] Light/dark modes
### p1
- [ ] Write unit tests for other packages besides the db package
### p2
### p3