edirect-insure-todolist-backend:EDirectInsure TODO列表的后端

时间:2021-03-22 15:41:36
【文件属性】:
文件名称:edirect-insure-todolist-backend:EDirectInsure TODO列表的后端
文件大小:121KB
文件格式:ZIP
更新时间:2021-03-22 15:41:36
TypeScript EDirectInsure TODO列表-后端 安装 $ yarn install (或等价的npm) 配置数据库 该应用程序旨在使用MySQL。 您必须手动创建模式。 mysql > CREATE SCHEMA IF NOT EXISTS < TABLE> ; 默认表的名称为todo_list 。 然后,运行迁移: $ knex migrate:latest 运行应用 为了运行该应用程序,您需要将数据库连接详细信息作为环境密钥传递。 这些是所需的键及其默认值: DB_HOST='127.0.0.1' DB_USER='root' DB_PASSWORD='1234567890' DB_NAME='todo_list' DB_PORT='3306' # development $ < ENV> nest start # watch mode $ < EN
【文件预览】:
edirect-insure-todolist-backend-main
----.gitignore(375B)
----package.json(2KB)
----src()
--------app.module.ts(1KB)
--------projects()
--------app.controller.spec.ts(617B)
--------main.ts(472B)
--------environment.ts(336B)
--------users()
--------app.service.ts(273B)
--------app.controller.ts(274B)
--------tasks()
----tsconfig.json(339B)
----.eslintrc.js(631B)
----README.md(781B)
----migrations()
--------20210321091815_db_init.js(1KB)
----tsconfig.build.json(97B)
----knexfile.js(404B)
----test()
--------app.e2e-spec.ts(630B)
--------jest-e2e.json(183B)
----.prettierrc(51B)
----yarn.lock(269KB)
----nest-cli.json(64B)

网友评论