{"id":22929025,"url":"https://github.com/teaentitylab/go-web-app","last_synced_at":"2026-04-08T20:50:32.771Z","repository":{"id":41902176,"uuid":"393691058","full_name":"TeaEntityLab/go-web-app","owner":"TeaEntityLab","description":"A web app template and Cli with structures inspired by RoR/Laravel/AdonisJS.","archived":false,"fork":false,"pushed_at":"2023-12-18T23:03:58.000Z","size":205,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-01T16:19:50.309Z","etag":null,"topics":["adonisjs","cli","django","golang","laravel","ror","ruby-on-rails","wsgi"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TeaEntityLab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-08-07T13:27:27.000Z","updated_at":"2022-09-28T10:45:34.000Z","dependencies_parsed_at":"2024-12-14T09:29:34.581Z","dependency_job_id":"2f24890e-173f-4d40-9ed3-4dfea253cdf7","html_url":"https://github.com/TeaEntityLab/go-web-app","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/TeaEntityLab/go-web-app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TeaEntityLab%2Fgo-web-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TeaEntityLab%2Fgo-web-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TeaEntityLab%2Fgo-web-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TeaEntityLab%2Fgo-web-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TeaEntityLab","download_url":"https://codeload.github.com/TeaEntityLab/go-web-app/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TeaEntityLab%2Fgo-web-app/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31573788,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["adonisjs","cli","django","golang","laravel","ror","ruby-on-rails","wsgi"],"created_at":"2024-12-14T09:28:51.098Z","updated_at":"2026-04-08T20:50:32.748Z","avatar_url":"https://github.com/TeaEntityLab.png","language":"Go","readme":"\ngo-web-app\n==\n\n[![tag](https://img.shields.io/github/tag/TeaEntityLab/go-web-app.svg)](https://github.com/TeaEntityLab/go-web-app)\n[![Go Report Card](https://goreportcard.com/badge/github.com/TeaEntityLab/go-web-app)](https://goreportcard.com/report/github.com/TeaEntityLab/go-web-app)\n[![codecov](https://codecov.io/gh/TeaEntityLab/go-web-app/branch/master/graph/badge.svg)](https://codecov.io/gh/TeaEntityLab/go-web-app)\n[![Travis CI Build Status](https://travis-ci.com/TeaEntityLab/go-web-app.svg?branch=master)](https://travis-ci.com/TeaEntityLab/go-web-app)\n[![GoDoc](https://godoc.org/github.com/TeaEntityLab/go-web-app?status.svg)](https://godoc.org/github.com/TeaEntityLab/go-web-app)\n\n[![license](https://img.shields.io/github/license/TeaEntityLab/go-web-app.svg?style=social\u0026label=License)](https://github.com/TeaEntityLab/go-web-app)\n[![stars](https://img.shields.io/github/stars/TeaEntityLab/go-web-app.svg?style=social\u0026label=Stars)](https://github.com/TeaEntityLab/go-web-app)\n[![forks](https://img.shields.io/github/forks/TeaEntityLab/go-web-app.svg?style=social\u0026label=Fork)](https://github.com/TeaEntityLab/go-web-app)\n\nA web app template and Cli with structures inspired by RoR/Laravel/AdonisJS.\n\n[Branch: FastHttp](https://github.com/TeaEntityLab/go-web-app)\n\n[Branch: Gin](https://github.com/TeaEntityLab/go-web-app/tree/for_gin)\n\n# Features\n\n* cli (*`urfave/cli`*)\n\t* Generate Model/Migration/Seeder\n\t* seed\n\t* migrate\n* DB (*`gorm`*)\n* Env/Logger (*`caarlos0/env`* *`logrus`*)\n* Basic Auth middleware\n* APIDocs serve/gen (*`swaggo`*)\n\n# Why\n\nIt's nice to write something in RoR ways.\n\nI hope you'll enjoy this template\n\n# Example\n\nRun:\n```bash\n./run.sh app\n\n# Run with Docs:\nENABLE_DOCUMENT=true ./run.sh app\n```\n\nGenerate Docs (*`swaggo`*):\n```bash\ncd app; ./generateDocs.sh; cd ..\n```\n\nCLI:\n```bash\n# Help\nDB_ENDPOINTS=mydb.sqlite3 DB_TYPE=sqlite ./cli.sh help\n\n# Make\nDB_ENDPOINTS=mydb.sqlite3 DB_TYPE=sqlite ./cli.sh make:model\nDB_ENDPOINTS=mydb.sqlite3 DB_TYPE=sqlite ./cli.sh make:migration\nDB_ENDPOINTS=mydb.sqlite3 DB_TYPE=sqlite ./cli.sh make:seeder\n\n# Migrate\nDB_ENDPOINTS=mydb.sqlite3 DB_TYPE=sqlite ./cli.sh migrate\nDB_ENDPOINTS=mydb.sqlite3 DB_TYPE=sqlite ./cli.sh migrate:rollback\nDB_ENDPOINTS=mydb.sqlite3 DB_TYPE=sqlite ./cli.sh migrate:refresh\n\n# Seed\nDB_ENDPOINTS=mydb.sqlite3 DB_TYPE=sqlite ./cli.sh seed\n```\n\n# Mod Dependencies/Suggestions\n\n## WSGI/Routing/Auth\n\n* Auth\n\t* JWT (Auth Token) https://github.com/golang-jwt/jwt\n\t* Crypto cypto \"golang.org/x/crypto\"\n* Env (as Config structs) env \"github.com/caarlos0/env/v6\"\n* ORM (GORM) https://gorm.io/gorm\n  \t* Migration https://github.com/go-gormigrate/gormigrate/v2\n\t* driver-sqlite \"gorm.io/driver/sqlite\"\n\t* driver-mysql \"gorm.io/driver/mysql\"\n\t* driver-postgres \"gorm.io/driver/postgres\"\n* FastHttp/Gin\n\n## Log/Error\n\n* errors \"github.com/pkg/errors\"\n* logrus \"github.com/sirupsen/logrus\"\n* slack-go \"github.com/johntdyer/slack-go\"\n\n## Cache/Data/Serialize\n\n* Cache\n\t* LRUCache github.com/hashicorp/golang-lru\n\t* Redis gopkg.in/redis.v5\n* Data/Serialize\n\t* jsoniter github.com/json-iterator/go\n\t* jsondiff github.com/nsf/jsondiff\n\t* diffmatchpatch github.com/sergi/go-diff/diffmatchpatch\n\t* hashring github.com/serialx/hashring\n* XID github.com/rs/xid\n* Net golang.org/x/net\n\n## Cli/Etc\n\n* Cli https://github.com/urfave/cli/blob/master/docs/v2/manual.md\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteaentitylab%2Fgo-web-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fteaentitylab%2Fgo-web-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteaentitylab%2Fgo-web-app/lists"}