Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/keisku/sqlboiler-example
example application to understand the usage of `sqlboiler`
https://github.com/keisku/sqlboiler-example
Last synced: 28 days ago
JSON representation
example application to understand the usage of `sqlboiler`
- Host: GitHub
- URL: https://github.com/keisku/sqlboiler-example
- Owner: keisku
- Created: 2020-06-14T07:00:18.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-06-14T07:43:25.000Z (over 4 years ago)
- Last Synced: 2023-03-05T19:12:42.425Z (over 1 year ago)
- Language: Go
- Homepage: https://github.com/volatiletech/sqlboiler
- Size: 37.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Usage
### start app
```shell
docker-compose build
docker-compose up -d
sqlboiler psql
docker-compose logs --tail=10 -f sqlboiler_example_app
```see list of articles
http://localhost:3000/articles![](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/275587/e7a9be0d-b438-a314-0dda-a058953906a0.png)
create new article
http://localhost:3000/article/new![](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/275587/d1a1ea10-0149-e90f-a38e-2d74197602bf.png)
### close app
```shell
docker-compose down
```