A progressive Node.js framework for building efficient and scalable server-side applications.
Nest framework TypeScript starter repository.
$ pnpm install# development
$ pnpm run start
# watch mode
$ pnpm run start:dev
# production mode
$ pnpm run start:prod# unit tests
$ pnpm run test
# e2e tests
$ pnpm run test:e2e
# test coverage
$ pnpm run test:cov-
Tạo user, có mặc định
cm36rq2130002xps3zlrybsis -
POST /upload với
userIdvàfileđể upload file, trả vềidcủa file
- Có thể lấy danh sách file ở GET /user/:userId
- POST /generate, trả về raw cái markdown
{
"resources": [
{
"id": <cái id file ở đây>
}
]
}Xem lại cái file index.html + console.log();
- Tạo config/constant store cho prompt, path và anh em.
- Bổ sung DTO các kiểu.
- Lưu trữ content
mdđã generate. - Code bớt chơi đồ lại.
- Break đống endpoint trong /user ra
- Tái cấu trúc lại cái API
Xa hơn:
- Chat? thay vì 1-shot
- Có thể xem lại lịch sử chat
Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.
- Author - Kamil Myśliwiec
- Website - https://nestjs.com
- Twitter - @nestframework
Nest is MIT licensed.