Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/openware/sonic
Sonic web framework
https://github.com/openware/sonic
framework go golang high-performance lightweight webapp
Last synced: 14 days ago
JSON representation
Sonic web framework
- Host: GitHub
- URL: https://github.com/openware/sonic
- Owner: openware
- Created: 2021-01-01T10:39:30.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2023-02-17T15:43:26.000Z (almost 2 years ago)
- Last Synced: 2024-12-15T19:06:19.178Z (18 days ago)
- Topics: framework, go, golang, high-performance, lightweight, webapp
- Language: Go
- Homepage: https://www.openware.com
- Size: 173 KB
- Stars: 6
- Watchers: 9
- Forks: 9
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sonic Fullstack micro-framework
Sonic is a project templates for creating server-side rendered applications. Powered by [gin](https://github.com/gin-gonic/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
```bash
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
```