项目
在 GitHub 查看
hmake98/fastify-typescript
关于
Fastify typescript boilerplate with Prisma
系统与基础设施实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- +1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Fastify-Typescript
Typescript based rest-API boilerplate with prisma and fastify framework.
How to use
1. Clone this repo & install dependencies
Install Node dependencies:
npm install
2. Set up the database
This uses Postgres database.
To set up your database, run:
npm run migrate
for production
npm run migrate:prod
3. Generate Prisma Client (type-safe database client)
Run the following command to generate Prisma Client:
npm run db:gen
4. Start the Fastify server
Launch your Fastify server with this command:
npm run dev
For Build Generation
Build server with command:
npm run build
Prisma documentation
- Check out the Prisma docs
- Check out the Fastify docs
探索相关项目
加载中…