Sonic is a project templates for creating server-side rendered applications. Powered by gin
- Integrate with Baseapp
- CMS for dynamic pages
scripts
- scripts for generating & updating your application.skel
- a skeleton for your app.skel/config
- application config files.skel/handlers
- REST handlers for CMS.skel/models
- models for database entities.
curl -ssL https://raw.githubusercontent.com/openware/sonic/master/scripts/install.sh | zsh
svm create github.com/*username*/*project_name*
Setup database:
go run . db create
go run . db migrate
Run server:
go run . serve