Host : https://toy-project.n-e.kr
구성 | 사용 기술 |
---|---|
언어 | Go |
백엔드 프레임워크 | Echo |
프론트엔드 프레임워크 | Htmx + Alpine.js |
CSS 프레임워크 선택지 1 | Pico CSS + Tailwind CSS |
CSS 프레임워크 선택지 2 | Beer CSS |
CSS 프레임워크 선택지 3 | Bulma CSS |
Template 엔진 | Gomponents |
데이터베이스 | SQLite3 |
- Pico CSS + Tailwind CSS : CSS 프레임워크 (커스터마이징)
- Beer CSS : CSS 프레임워크 (Material)
- Bulma CSS : CSS 프레임워크 (데스크톱 ?)
- Tabler : 어드민과 같이 PC에서 사용하는 웹사이트라면 Tabler CSS 프레임워크도 고려
surreal.js : surreal.js
air
chmod +x main
./main
sudo systemctl start main.service
./pocketbase.exe serve --dir ./projects/homepage/pb_data
chmod +x pocketbase
./pocketbase serve --dir ./projects/homepage/pb_data
go get firebase.google.com/go/v4@latest
go get github.com/eduardolat/gomponents-lucide@latest
go get github.com/glsubri/gomponents-alpine@latest
go get github.com/go-rod/rod@latest
go get github.com/joho/godotenv@latest
go get github.com/labstack/echo-contrib@latest
go get github.com/labstack/echo/v4@latest
go get github.com/mattn/go-sqlite3@latest
go get github.com/openai/openai-go@latest
go get github.com/robfig/cron/v3@latest
go get github.com/willoma/bulma-gomponents@latest
go get github.com/willoma/gomplements@latest
go get google.golang.org/api@latest
go get google.golang.org/genai@latest
go get maragu.dev/gomponents@latest
go get maragu.dev/gomponents-htmx@latest
#go install github.com/a-h/templ/cmd/templ@latest
go install github.com/air-verse/air@latest
go install github.com/air-verse/air@latest
CGO_ENABLED=0 go install github.com/sqlc-dev/sqlc/cmd/sqlc@latest
go mod tidy
Window : tdm-gcc
go env -w CGO_ENABLED=1
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.63.4
golangci-lint run ./...
https://ntorga.com/full-stack-go-app-with-htmx-and-alpinejs/