内置Go + graphql-go + gorm的GraphQL API样板-Golang开发

时间:2021-05-26 17:45:55
【文件属性】:
文件名称:内置Go + graphql-go + gorm的GraphQL API样板-Golang开发
文件大小:38KB
文件格式:ZIP
更新时间:2021-05-26 17:45:55
Golang Miscellaneous Go GraphQL API Boilerplate堆栈Go GraphQL:graphql-go ORM:gorm功能用户注册和登录更改密码,配置文件如何运行初始化数据库创建Go GraphQL API Boilerplate堆栈Go GraphQL:graphql-go ORM:gorm功能用户注册&登录更改密码,配置文件如何运行初始化数据库创建数据库postgres =#CREATE DATABASE go; 创建一个用户作为数据库所有者postgres =#CREATE USER go with ENCRYPTED PASSWORD'go'; postgres =#ALTER DATABASE继续拥有; 向用户授予数据库postgres =#的所有特权。 在db.go中配置数据库// // Conn
【文件预览】:
go-graphql-api-boilerplate-master
----.gitignore(4B)
----go.mod(593B)
----Dockerfile(493B)
----handler()
--------auth.go(908B)
--------handler.go(408B)
--------graphiql.go(2KB)
----resolvers()
--------sign_in_kakao.go(7KB)
--------get_my_profile.go(1KB)
--------user_response.go(866B)
--------sign_in_google.go(5KB)
--------resolvers.go(164B)
--------change_profile.go(2KB)
--------change_password.go(1KB)
----model()
--------user.go(672B)
----sql()
--------create.sql(1KB)
----server.go(1KB)
----db()
--------db_test.go(632B)
--------db.go(807B)
----LICENSE(1KB)
----schema()
--------schema_test.go(106B)
--------schema.go(156B)
--------shared()
--------Query()
--------Mutation()
----go.sum(50KB)
----utils()
--------sign_JWT.go(397B)
--------auth.go(504B)
--------google_signin.go(626B)
--------validate_JWT.go(997B)
--------kakao_login.go(1KB)
--------sign_JWT_test.go(170B)
--------validate_JWT_test.go(418B)
----README.md(2KB)

网友评论