Skip to content

Commit 7c7fbd3

Browse files
docs: frontend folder structure updated (#46)
1 parent af423cc commit 7c7fbd3

File tree

1 file changed

+50
-0
lines changed

1 file changed

+50
-0
lines changed
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
frontend/
2+
3+
├── core/ # Shared logic library
4+
│ ├── src/
5+
│ │ ├── components/ # Shared React components
6+
│ │ ├── hooks/ # Shared React hooks (fetch, state mgmt)
7+
│ │ ├── utils/ # Reusable helper functions
8+
│ │ ├── types/ # Shared TypeScript types
9+
│ │ └── index.ts # Export all shared modules
10+
│ ├── package.json
11+
│ ├── tsconfig.json
12+
│ └── README.md
13+
14+
15+
├── cauweb/ # Main Web UI App
16+
│ ├── src/
17+
│ │ ├── pages/ # UI Screens (Home, Dashboard, About)
18+
│ │ ├── layouts/ # Shared layouts (Navbar, Sidebar)
19+
│ │ ├── features/ # Domain features (Logs, Trading UI)
20+
│ │ ├── assets/ # Images, icons, fonts
21+
│ │ ├── styles/ # Global CSS/Tailwind configs
22+
│ │ └── main.tsx # App entry point
23+
│ ├── public/
24+
│ ├── package.json
25+
│ ├── tsconfig.json
26+
│ └── README.md
27+
28+
29+
├── cli/ # Terminal UI (Node/React Ink CLI)
30+
│ ├── src/
31+
│ │ └── index.ts
32+
│ ├── package.json
33+
│ └── tsconfig.json
34+
35+
36+
├── metrics/ # Data visual charts + API metrics
37+
│ ├── src/
38+
│ │ ├── charts/
39+
│ │ ├── analytics/
40+
│ │ └── index.ts
41+
│ ├── package.json
42+
│ └── tsconfig.json
43+
44+
45+
├── node_modules/ # Shared dependencies root install
46+
47+
├── package.json # root scripts + global deps
48+
├── pnpm-workspace.yaml # defines workspace packages
49+
├── tsconfig.base.json # shared TS config
50+
└── README.md

0 commit comments

Comments
 (0)