go-postgres-jwt-react-starter:具有jwt auth的go,gin和postgres API,并带有react前端

时间:2024-02-19 12:20:12
【文件属性】:

文件名称:go-postgres-jwt-react-starter:具有jwt auth的go,gin和postgres API,并带有react前端

文件大小:588KB

文件格式:ZIP

更新时间:2024-02-19 12:20:12

react go postgres boilerplate jwt

GOReact启动器 这是go and react项目的样板/启动器。 它使用go gin框架。 入门 下载并安装 下载并安装 :在Mac上 :在Windows上设置postgres 用法 克隆此存储库 使用文件中的查询来设置数据库。 在文件中输入数据库凭据 导航到服务器目录 > cd server > go run main.go 这将启动go服务器。 要启动react应用,请导航到客户端目录 > cd client > yarn install > yarn start 终点 /会话[GET] /注册[POST] { name String , email String , password String } /登录[POST] { email String , password String } / createReset [POST] { email String } / resetPassword [POST]


【文件预览】:
go-postgres-jwt-react-starter-master
----client()
--------package.json(868B)
--------yarn-error.log(261KB)
--------src()
--------.gitignore(12B)
--------public()
--------yarn.lock(246KB)
----server()
--------config()
--------db()
--------main.go(308B)
--------.gitignore(40B)
--------errors()
--------controller()
--------go.sum(5KB)
--------utils()
--------router()
--------middlewares()
--------go.mod(286B)
----assets()
--------logo.png(434KB)
----.gitignore(16B)
----go.sum(3KB)
----README.md(2KB)
----go.mod(235B)

网友评论