Declarative Fullstack (Backend/Frontend) Framework using Htmx Like frontend and React Like backend implemented using Go
- Copy the example environment file and modify as needed:
cp .env.example .env
- Run the application:
go run .
- Regenerate swagger when there are changes (see
generate.go
for required packages):
go generate .
By default, the server will start on port 3000.
Build the image:
docker build -t polyglot-web-go .
Run the container:
docker run -p 3000:3000 -v ./data:/app/data --env DB_PATH=/app/data/data.db polyglot-web-go