在部署 MetaSo 的过程中,开发者可以配置 API-Swagger,以便根据 API 定制自己的数据展示。在 API 文档中,我们将功能划分为多个模块,例如 Buzz 模块、统计模块、Setting 模块等。
shownow-frontend/
├── Configuration Files
│ ├── .gitignore
│ ├── .npmrc
│ ├── .umirc.ts
│ ├── package.json
│ ├── pnpm-lock.yaml
│ ├── tailwind.config.js
│ ├── tailwind.css
│ ├── tsconfig.json
│ ├── typings.d.ts
│ └── yarn.lock
│
├── public/ - Public resources
│ ├── favicon.ico
│
├── src/ - Source code
│ ├── assets/ - Static assets
│ │ ├── Images (.png, .svg)
│ │ └── dashboard/ - Dashboard related assets
│ │
│ ├── Components/ - Common components
│ │ ├── Buzz/ - Tweet related components
│ │ ├── Cards/ - Card components
│ │ ├── Comment/ - Comment components
│ │ ├── ConnectWallet/ - Wallet connection
│ │ ├── Follow/ - Follow related
│ │ ├── HomeTabs/ - Home tabs
│ │ ├── ProfileCard/ - Profile card
│ │ ├── UserInfo/ - User information
│ │ └── ...Other components
│ │
│ ├── layouts/ - Layout components
│ │ ├── dashboard.tsx - Dashboard layout
│ │ ├── showLayout.tsx - Show layout
│ │ └── ...Other layouts
│ │
│ ├── pages/ - Pages
│ │ ├── dashboard/ - Dashboard pages
│ │ │ ├── fees/ - Fee related
│ │ │ ├── metaso/ - MetaSo related
│ │ │ └── ...Other dashboard pages
│ │ ├── home/ - Home page
│ │ ├── profile/ - Profile page
│ │ ├── tweet/ - Tweet page
│ │ └── ...Other pages
│ │
│ ├── utils/ - Utility functions
│ │ ├── buzz.ts - Tweet utilities
│ │ ├── metaso.ts - MetaSo utilities
│ │ └── ...Other utilities
│ │
│ ├── models/ - Data models
│ ├── config/ - Configuration
│ ├── request/ - API requests
│ ├── entities/ - Entity definitions
│ ├── hooks/ - Custom hooks
│ ├── wrappers/ - Higher-order components
│ ├── locales/ - Internationalization
│ │ ├── en-US.ts - English language pack
│ │ └── zh-CN.ts - Chinese language pack
│
└── patches/ - Patch filescaption