没有合适的资源?快使用搜索试试~ 我知道了~
nestjs-realworld-example-app:使用NestJS + TypeORM Prisma构建的示例性现实世界...
共119个文件
js:36个
map:35个
ts:35个
需积分: 28 0 下载量 113 浏览量
2021-05-11
15:18:17
上传
评论
收藏 290KB ZIP 举报
温馨提示
NestJS代码库包含遵循 API规范的真实示例(CRUD,身份验证,高级模式等)。 入门 安装 克隆存储库 git clone https://github.com/lujakob/nestjs-realworld-example-app.git 切换到repo文件夹 cd nestjs-realworld-example-app 安装依赖项 npm install 复制配置文件并设置JsonWebToken密钥 cp src/config.ts.example src/config.ts 数据库 该代码库包含两个不同数据库抽象的示例,即和 。 该分支master工具TypeORM与MySQL数据库。 分支prisma通过mySQL数据库实现Prisma。 类型ORM 使用名称nestjsrealworld创建一个新的mysql数据库(或您在ormconfig.json中指定
资源推荐
资源详情
资源评论
收起资源包目录
nestjs-realworld-example-app:使用NestJS + TypeORM Prisma构建的示例性现实世界后端API (119个子文件)
.env 452B
ormconfig.json.example 235B
config.ts.example 35B
.gitignore 217B
article.service.js 9KB
article.controller.js 9KB
user.service.js 6KB
profile.service.js 6KB
user.controller.js 5KB
profile.controller.js 4KB
user.entity.js 3KB
article.entity.js 3KB
validation.pipe.js 3KB
auth.middleware.js 3KB
article.module.js 2KB
tag.controller.js 2KB
tag.service.js 2KB
app.module.js 2KB
profile.module.js 2KB
user.module.js 2KB
main.js 2KB
comment.entity.js 1KB
follows.entity.js 1KB
tag.module.js 1KB
create-user.dto.js 1KB
app.controller.js 1KB
tag.entity.js 1KB
login-user.dto.js 1KB
user.decorator.js 627B
base.controller.js 521B
index.js 438B
index.js 350B
create-article.dto.js 195B
create-comment.js 191B
update-user.dto.js 183B
config.js 147B
article.interface.js 122B
profile.interface.js 122B
user.interface.js 119B
index.js 51B
package-lock.json 376KB
package.json 2KB
tsconfig.json 439B
jest.json 357B
nodemon.json 97B
nestconfig.json 52B
yarn.lock 234KB
article.service.js.map 7KB
article.controller.js.map 4KB
user.service.js.map 3KB
profile.service.js.map 3KB
user.controller.js.map 2KB
validation.pipe.js.map 1KB
article.entity.js.map 1KB
article.module.js.map 1KB
profile.controller.js.map 1KB
auth.middleware.js.map 1KB
user.entity.js.map 859B
user.decorator.js.map 767B
main.js.map 721B
user.module.js.map 686B
profile.module.js.map 675B
app.module.js.map 550B
tag.controller.js.map 507B
tag.module.js.map 502B
tag.service.js.map 474B
base.controller.js.map 449B
comment.entity.js.map 431B
follows.entity.js.map 346B
app.controller.js.map 309B
tag.entity.js.map 305B
create-user.dto.js.map 279B
login-user.dto.js.map 248B
index.js.map 222B
index.js.map 194B
create-article.dto.js.map 181B
create-comment.js.map 173B
update-user.dto.js.map 170B
config.js.map 137B
profile.interface.js.map 137B
article.interface.js.map 137B
user.interface.js.map 128B
README.md 4KB
project-logo.png 36KB
article.service.ts 6KB
article.controller.ts 4KB
user.service.ts 4KB
profile.service.ts 3KB
user.controller.ts 2KB
article.module.ts 1KB
validation.pipe.ts 1KB
tag.controller.spec.ts 1KB
auth.middleware.ts 1KB
profile.controller.ts 1KB
article.entity.ts 1010B
profile.module.ts 862B
user.entity.ts 807B
user.decorator.ts 747B
user.module.ts 741B
main.ts 699B
共 119 条
- 1
- 2
资源评论
小旗旗
- 粉丝: 24
- 资源: 4557
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功