jwt-bff-auth-example:使用BFF的JWT Auth的概念验证(通过NextJS进行前端的后端)

时间:2024-06-05 17:55:16
【文件属性】:

文件名称:jwt-bff-auth-example:使用BFF的JWT Auth的概念验证(通过NextJS进行前端的后端)

文件大小:72KB

文件格式:ZIP

更新时间:2024-06-05 17:55:16

TypeScript

JWT BFF(前端后端)身份验证 入门 先决条件 已brew install mysql MySQL( brew install mysql或在Docker容器中运行) 配置了无服务器框架(按照) 安装 安装前端依赖项: cd frontend && npm install 安装后端依赖项: cd backend && npm install 在开发中运行 后端: cd backend && npm run offline运行在脱机模式下(本地)运行无服务器框架 前端: cd frontend && npm run dev在dev模式下运行


【文件预览】:
jwt-bff-auth-example-main
----.gitignore(2KB)
----README.md(612B)
----backend()
--------api()
--------.gitignore(86B)
--------package.json(854B)
--------tslint.json(315B)
--------entities()
--------serverless.yml(1KB)
--------package-lock.json(226KB)
--------db.ts(1KB)
--------tsconfig.json(323B)
--------config.ts(411B)
--------cookie.txt(336B)
----frontend()
--------package.json(700B)
--------.npmrc(35B)
--------tsconfig.json(555B)
--------next-env.d.ts(75B)
--------store()
--------pages()

网友评论