Skip to content

knwl-map/thesis-be

Repository files navigation

Nest Logo

A progressive Node.js framework for building efficient and scalable server-side applications.

NPM Version Package License NPM Downloads CircleCI Coverage Discord Backers on Open Collective Sponsors on Open Collective Support us

Description

Nest framework TypeScript starter repository.

Installation

$ pnpm install

Running the app

# development
$ pnpm run start

# watch mode
$ pnpm run start:dev

# production mode
$ pnpm run start:prod

Test

# unit tests
$ pnpm run test

# e2e tests
$ pnpm run test:e2e

# test coverage
$ pnpm run test:cov

Hướng dẫn sử dụng

  1. Tạo user, có mặc định cm36rq2130002xps3zlrybsis

  2. POST /upload với userIdfile để upload file, trả về id của file

  • Có thể lấy danh sách file ở GET /user/:userId
  1. 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();

TODO

  • 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

Support

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.

Stay in touch

License

Nest is MIT licensed.


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors