Just another image gallery for cherished memories.
Mostly for learning more golang.
- simple REST api with go
- use with svelte
- embed the frontend into the binary
- use local/in-memory database
- ffmpeg integration
- edit/delete functions guarded with one time password
- fun
Sources to read:
- How to Use go:embed in Go | The JetBrains Blog
- Create a Restful API with Golang from scratch - DEV Community
- otp package - github.com/pquerna/otp - Go Packages
- ostafen/clover: A lightweight document-oriented NoSQL database written in pure Golang.
- cosmtrek/air: โ๏ธ Live reload for Go apps
- Clean and simple hot-reloading on uninterrupted go applications | by Xabier Larrakoetxea | ITNEXT
- gofiber/recipes: ๐ Examples for ๐ Fiber
#DEV
fontend> pnpm run dev
> go run main.go
#DEV + live reload
> go install github.com/cosmtrek/air@latest
> air init
> air
#BUILD
fontend> pnpm run build
> go build