paquidepi:使用基于postgres的express,primajs的API

时间:2021-04-17 12:04:44
【文件属性】:
文件名称:paquidepi:使用基于postgres的express,primajs的API
文件大小:5KB
文件格式:ZIP
更新时间:2021-04-17 12:04:44
TypeScript REST API示例 本示例说明如何使用和使用TypeScript实现REST API 。 它基于POSTGRES数据库。 登录 入门 1.下载示例并安装依赖项 Install npm dependencies: 纱 ### 2. Create and seed the database Run the following command to create your SQLite database file. This also creates the `User` and `Post` tables that are defined in [`prisma/schema.prisma`](./prisma/schema.prisma): npx pyramida migration dev --name初始化 ### 3. Start the REST API server 纱线开发
【文件预览】:
paquidepi-main
----src()
--------index.ts(3KB)
----tsconfig.json(146B)
----README.md(1KB)
----.gitignore(40B)
----package.json(582B)
----prisma()
--------migrations()
--------schema.prisma(431B)

网友评论