{"repo":"hyperjiang/gin-skeleton","free":true,"listed":false,"github":"https://github.com/hyperjiang/gin-skeleton","clone":"git clone https://github.com/hyperjiang/gin-skeleton.git","description":"Gin Skeleton is a simple boilerplate to kickstart a web server project based on Gin Framework","language":"Go","stars":44,"topics":["gin","skeleton","jwt"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"gin-skeleton Gin Skeleton is a simple boilerplate to kickstart a web server project based on Gin Framework. Require go version = 1.18, if your go version is lower, please use legacy branches, there are quite a lot of incompatible changes between master and legacy branches. Components - Framework: gin-gonic/gin - Database ORM: go-gorm/gorm - Database migration: rubenv/sql-migrate - Zero Allocation JSON Logger: rs/zerolog - YAML support: go-yaml/yaml - Testing toolkit: stretchr/testify Configuration Edit the config.yml with your own config Database Migration Create the database first Migrates the database to the most recent version available Undo a database migration Show migration status Create a new migration Available endpoints See router - Home page: http://localhost:8080/ - Api version: http://localhost:8080/api/version - Sign up: http://localhost:8080/signup - Login: http://localhost:8080/login - Get user info: http://localhost:8080/user/1 - Test jwt: http://localhost:8080/auth/hello (only user \"admin\" can see this page)","default_branch":null,"files":null,"tree":[],"storefront":"/r/hyperjiang","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/hyperjiang/gin-skeleton/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}