|
3 years ago | |
---|---|---|
.. | ||
src | 3 years ago | |
test | 4 years ago | |
.eslintrc.js | 4 years ago | |
.gitignore | 4 years ago | |
.prettierrc | 4 years ago | |
README.md | 4 years ago | |
generate-csv.ts | 3 years ago | |
nest-cli.json | 4 years ago | |
package.json | 3 years ago | |
tsconfig.build.json | 4 years ago | |
tsconfig.json | 4 years ago | |
yarn.lock | 3 years ago |
Milvus insight server use nest
Milvus insight server depend on milvus2-node-sdk to operate milvus data.
.
├── auth # Jwt authentication not useful for now
├── collections # Manage milvus collections api
├── interceptors # Nest interceptors related
├── middlewares # Nest middlewares related
├── milvus # Milvus itself infomation api. Every other api modules need import this module.
├── partitions # Manage milvus partitions api
├── pipe # Nest pipe related
├── schema # Manage milvus schema api
├── users # Working with auth module, not useful for now.
├── utils # Common helping functions.
├── app.xxx.ts # Need import all other modules to app module.
└── main.ts # Usually we dont need change this.
We use class-validator to help us. So normally we have dto.ts for every controller file.
We need use ApiProperty to tag every field in dto.ts file and use ApiTags in every controller file. After you start server, you can http://localhost:3000/api to see swagger doc.