Skip to content
This repository has been archived by the owner on Mar 24, 2023. It is now read-only.

trakx/sonic

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages

  • Go 86.9%
  • Shell 6.9%
  • HTML 2.6%
  • Dockerfile 1.6%
  • HCL 1.5%
  • Makefile 0.5%