openware / sonic

Sonic web framework

Home Page:https://www.openware.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sonic Fullstack micro-framework

Sonic is a project templates for creating server-side rendered applications. Powered by gin

Roadmap

  • Integrate with Baseapp
  • CMS for dynamic pages

Repo structure

  1. scripts - scripts for generating & updating your application.
  2. skel - a skeleton for your app.
  3. skel/config - application config files.
  4. skel/handlers - REST handlers for CMS.
  5. skel/models - models for database entities.

How to generate an app

curl -ssL https://raw.githubusercontent.com/openware/sonic/master/scripts/install.sh | zsh
svm create github.com/*username*/*project_name*

Setup

Setup database:

go run . db create
go run . db migrate

Run server:

go run . serve

About

Sonic web framework

https://www.openware.com


Languages

Language:Go 83.7%Language:Shell 10.2%Language:HTML 2.5%Language:Dockerfile 1.6%Language:HCL 1.5%Language:Makefile 0.5%