Initial monorepo scaffold for Duoc Thu RAG medical chatbot
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
# api-client
|
||||
|
||||
Typed HTTP client for `web` to call `api-gateway`, built on `shared-types`.
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"name": "@duoc-thu/api-client",
|
||||
"private": true,
|
||||
"version": "0.0.0",
|
||||
"main": "src/index.ts"
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
export {};
|
||||
@@ -0,0 +1,3 @@
|
||||
# config
|
||||
|
||||
Shared ESLint/TSConfig/Prettier base configs reused across Node apps and packages.
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"name": "@duoc-thu/config",
|
||||
"private": true,
|
||||
"version": "0.0.0"
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"target": "ES2022",
|
||||
"module": "commonjs",
|
||||
"moduleResolution": "node",
|
||||
"strict": true,
|
||||
"esModuleInterop": true,
|
||||
"skipLibCheck": true,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"declaration": true
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
# shared-types
|
||||
|
||||
TypeScript DTOs and event payload contracts shared between the Node services
|
||||
(`api-gateway`, `auth-service`, `user-service`, `chat-service`) and `web`.
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"name": "@duoc-thu/shared-types",
|
||||
"private": true,
|
||||
"version": "0.0.0",
|
||||
"main": "src/index.ts"
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
export {};
|
||||
@@ -0,0 +1,4 @@
|
||||
# ui
|
||||
|
||||
Shared React components: chat bubble, citation card, disclaimer banner. Used
|
||||
by `web` (and future `mobile` where applicable).
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"name": "@duoc-thu/ui",
|
||||
"private": true,
|
||||
"version": "0.0.0",
|
||||
"main": "src/index.ts"
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
export {};
|
||||
Reference in New Issue
Block a user