|
| 1 | + |
| 2 | +> |
| 3 | + ```xlsl |
| 4 | ++----------------------------------------------------+ |
| 5 | +| Web4 | |
| 6 | +| | |
| 7 | +| +-----------------------+ +-------------------+ | |
| 8 | +| | React.js SPA |<--| Google Search API | | |
| 9 | +| |-----------------------| +-------------------+ | |
| 10 | +| | - Home Page | | |
| 11 | +| | - AppStore | | |
| 12 | +| | - WalletConnect | | |
| 13 | +| | - Chat with Kubu-Hai | | |
| 14 | +| | - Menu | | |
| 15 | +| | - Online Gaming | | |
| 16 | +| +-----------------------+ | |
| 17 | +| | | | |
| 18 | +| v | | |
| 19 | +| +-----------------------+ | | |
| 20 | +| | Node.js + Express | | | |
| 21 | +| |-----------------------| | | |
| 22 | +| | - API Gateway | | | |
| 23 | +| | - Auth Service | | | |
| 24 | +| | - User Management | | | |
| 25 | +| | - Crypto Wallet |<--->| CoinMarketCap API | |
| 26 | +| | - AppStore Service | | | |
| 27 | +| | - AI Interaction | | | |
| 28 | +| | - Marketplace Service |<--->| Facebook API | | |
| 29 | +| | - Game Service | | | |
| 30 | +| +-----------------------+ | | |
| 31 | +| | | | |
| 32 | +| v | | |
| 33 | +| +-----------------------+ +----------------+ | | |
| 34 | +| | MongoDB |<--| Discord API | | | |
| 35 | +| |-----------------------| +----------------+ | | |
| 36 | +| | - Users | | | |
| 37 | +| | - Apps | | | |
| 38 | +| | - Transactions | | | |
| 39 | +| | - Games | | | |
| 40 | +| | - Marketplace | | | |
| 41 | +| +-----------------------+ |
| 42 | +| |«```code»| |
| 43 | +| +----------------------------------------------------+ |
| 44 | +├── /src |
| 45 | +│ ├── /modules |
| 46 | +│ │ ├── /auth |
| 47 | +│ │ │ ├── authController.js |
| 48 | +│ │ │ ├── authService.js |
| 49 | +│ │ │ └── authRoutes.js |
| 50 | +│ │ ├── /user |
| 51 | +│ │ │ ├── userController.js |
| 52 | +│ │ │ ├── userService.js |
| 53 | +│ │ │ └── userRoutes.js |
| 54 | +│ │ ├── /product |
| 55 | +│ │ │ ├── productController.js |
| 56 | +│ │ │ ├── productService.js |
| 57 | +│ │ │ └── productRoutes.js |
| 58 | +│ │ └── /order |
| 59 | +│ │ ├── orderController.js |
| 60 | +│ │ ├── orderService.js |
| 61 | +│ │ └── orderRoutes.js |
| 62 | +│ │ |
| 63 | +│ ├── app.js |
| 64 | +│ └── config.js |
| 65 | +│ |
| 66 | +├── /public |
| 67 | +│ ├── index.html |
| 68 | +│ └── styles.css |
| 69 | +│ |
| 70 | +├── /tests |
| 71 | +│ ├── auth.test.js |
| 72 | +│ ├── user.test.js |
| 73 | +│ ├── product.test.js |
| 74 | +│ └── order.test.js |
| 75 | +│ |
| 76 | +├── package.json |
| 77 | +└── README.md |
| 78 | +``` |
0 commit comments