How nguyendal/fastboost works
FastBoost is a game-services marketplace demo. Customers browse services, configure and pay for orders, then communicate through order and support chat; providers and admins manage assigned work, accounts, pricing, and support. The graph combines documented product capabilities with relationships visible in the excerpts and SOURCE INDEX. Several feature implementations were not sampled, so their internals are represented at the route or directory level rather than inferred.
Main entry points: App.jsx Web application · orderController.js Order lifecycle · app.js Express API · paymentController.js Payment processing
Components 27
Customer experience
- Web application
client/src/App.jsx - Service browsing
client/src/pages/ServicesPage.jsx - Checkout
client/src/pages/CheckoutPage.jsx - Match and chat
client/src/pages/MatchPage.jsx - Support chat
client/src/components/SupportChat.jsx - Account and loyalty
client/src/pages/AccountSettingsPage.jsx - Order management
client/src/pages/CustomerOrdersPage.jsx - API clients
client/src/api
Orders and pricing
- Order routes
server/src/routes/orderRoutes.js - Order lifecycle
server/src/controllers/orderController.js - Payment processing
server/src/controllers/paymentController.js - Checkout discounts
server/src/utils/checkoutCoupon.js - Pricing management
server/src/controllers/priceController.js - Loyalty and referrals
server/src/utils/referralProgram.js
Identity and accounts
- Session storage
client/src/utils/authStorage.js - Authentication routes
server/src/routes/authRoutes.js - Social sign-in
server/src/controllers/socialAuthController.js - Token authorization
server/src/middleware/authMiddleware.js
Provider and admin operations
- Operations routes
server/src/routes/operationsRoutes.js - Provider agreements
server/src/routes/providerAgreementRoutes.js
API and persistence
- Marketplace feature routes
server/src/routes - Express API
server/src/app.js - PostgreSQL data
server/src/prisma.js
Other components
- Customer
- Stripe
- OAuth providers
- DocuSign
Connections 38
- Customer → Web application: uses
- Web application → Service browsing: routes to
client/src/App.jsx - Web application → Checkout: routes to
client/src/App.jsx - Web application → Match and chat: routes to
client/src/App.jsx - Web application → Account and loyalty: routes to
client/src/App.jsx - Web application → Order management: routes to
client/src/App.jsx - Web application → Support chat: renders
client/src/App.jsx - Web application → Session storage: reads session
client/src/App.jsx - Customer → Service browsing: browses
- Customer → Checkout: configures order
- Customer → Match and chat: communicates
- Web application → API clients: requests data
- API clients → Express API: calls API
- Authentication routes → Social sign-in: routes to
server/src/routes/authRoutes.js - Web application → Authentication routes: authenticates
- Express API → Authentication routes: mounts
server/src/app.js - Express API → Order routes: mounts
server/src/app.js - Express API → Operations routes: mounts
server/src/app.js - Express API → Marketplace feature routes: mounts
server/src/app.js - Order routes → Order lifecycle: routes to
server/src/routes/orderRoutes.js - Order lifecycle → PostgreSQL data: reads and writes
server/src/controllers/orderController.js - Order lifecycle → Checkout discounts: applies discounts
server/src/controllers/orderController.js - Order lifecycle → Pricing management: calculates price
server/src/controllers/orderController.js - Order lifecycle → Loyalty and referrals: awards benefits
server/src/controllers/orderController.js - Order lifecycle → Stripe: uses payments
server/src/controllers/orderController.js - Payment processing → PostgreSQL data: updates orders
server/src/controllers/paymentController.js - Payment processing → Checkout discounts: applies coupon
server/src/controllers/paymentController.js - Payment processing → Stripe: creates sessions
server/src/controllers/paymentController.js - Payment processing → Loyalty and referrals: grants rewards
server/src/controllers/paymentController.js - Express API → Payment processing: handles webhook
server/src/app.js - Operations routes → Token authorization: protects routes
server/src/routes/operationsRoutes.js - Operations routes → PostgreSQL data: queries records
server/src/routes/operationsRoutes.js - Operations routes → Provider agreements: mounts agreement
server/src/routes/operationsRoutes.js - Provider agreements → DocuSign: integrates
- Social sign-in → PostgreSQL data: stores identities
server/src/controllers/socialAuthController.js - Social sign-in → OAuth providers: verifies identity
server/src/controllers/socialAuthController.js - Authentication routes → Token authorization: protects endpoints
server/src/routes/authRoutes.js - Customer → Support chat: requests support