From 3d1695b1604f00a8114d36ad2b606ce1433a6d6d Mon Sep 17 00:00:00 2001 From: Jennifer Echenim Date: Tue, 1 Oct 2024 11:51:35 +0400 Subject: [PATCH] Update file structure in packages README --- packages/README.md | 69 +++++++++++++++++++++++++++++++++++++--------- 1 file changed, 56 insertions(+), 13 deletions(-) diff --git a/packages/README.md b/packages/README.md index 6abf2b4dee..249f030219 100644 --- a/packages/README.md +++ b/packages/README.md @@ -9,21 +9,64 @@ This repository uses a monorepo setup to manage multiple frontend projects and s ├── 📁 apis - Server-side logic, API routes, and backend services │ ├── 📁 .config - Configuration files for the APIs │ ├── 📁 src - Source files for API logic -│ ├── 📁 storage - Storage-related logic or utilities +│ └── 📁 storage - Storage-related logic or utilities ├── 📁 eslint-config - Centralized ESLint configuration for all frontend projects ├── 📁 shared - Reusable components, hooks, and utilities shared across frontend apps -│ ├── 📁 src - Main directory containing shared code +│ └── 📁 src - Main directory containing shared code ├── 📁 typescript-config - Centralized TypeScript configurations │ ├── 📄 base.json - Base TypeScript configuration for general projects │ ├── 📄 nextjs.json - Configuration specific to Next.js projects -│ ├── 📄 react-library.json - Configuration for React libraries -├── 📁 ui - -│ ├── 📁 api - API logic consumed by the frontend -│ ├── 📁 components - Reusable React components used in the UI -│ ├── 📁 hooks - Custom hooks used across the frontend -│ ├── 📁 lib - Utility functions used across the frontend -│ ├── 📁 public - Static files such as images and assets -│ ├── 📁 services - External service interactions like APIs -│ ├── 📁 routes - Routing configuration and route-related logic -│ ├── 📁 stores - Global state mgt -``` \ No newline at end of file +│ └── 📄 react-library.json - Configuration for React libraries +└── 📁 ui - + ├── 📁 api - API logic consumed by the frontend + ├── 📁 components - Reusable React components used in the UI + ├── 📁 hooks - Custom hooks used across the frontend + ├── 📁 lib - Utility functions used across the frontend + ├── 📁 public - Static files such as images and assets + ├── 📁 services - External service interactions like APIs + ├── 📁 routes - Routing configuration and route-related logic + └── 📁 stores - Global state mgt +``` + +## Getting Started + +1. **Clone the Repository:** + + ```bash + git clone https://github.com/ten-protocol/go-ten.git + ``` + +2. **Install Dependencies:** + + ```bash + pnpm install + ``` + +3. **Navigate to the Project:** + + ```bash + Tenscan: cd tools/tenscan/frontend + Gateway: cd tools/walletextension/frontend + Bridge: cd tools/bridge-frontend + ``` + +4. **Run the Project:** + + ```bash + pnpm dev + ``` + + +## Built With + +- [Next.js](https://nextjs.org/) +- [Tailwind CSS](https://tailwindcss.com/) +- [TypeScript](https://www.typescriptlang.org/) + +## Contributing + +Contributions are welcome! Follow our [contribution guidelines](/docs/_docs/community/contributions.md). + +## License + +This project is licensed under the [GNU Affero General Public License v3.0](/LICENSE). \ No newline at end of file