How derricknyamai11/tunedfrontend works
This is a Next.js frontend for an academic-writing services marketplace, with public service discovery and quoting alongside customer, writer, and admin workspaces. The intended customer journey runs from service discovery through quote/order entry to order tracking. The tree establishes these product areas, but most route and service implementations were not sampled, so the graph avoids asserting their detailed wiring; sampled auth, profile-query, and navbar-service calls are shown explicitly.
Main entry points: (main)/page.tsx Home and quote · auth.service.ts Auth requests · orders/page.tsx Order creation and tracking · [slug]/page.tsx Service details
Components 23
Public discovery
- Home and quote
src/app/(main)/page.tsx - Service catalog
src/app/(main)/services/page.tsx - Service details
src/app/(main)/service/[slug]/page.tsx - Blogs and FAQs
src/app/(main)/blogs/page.tsx - Blog article
src/app/(main)/blogs/[slug]/page.tsx - Contact and policies
src/app/(main)/contact/page.tsx
Identity
- Sign-in and registration
src/app/auth/login/page.tsx - Auth state
src/lib/hooks/useAuth.ts - Auth requests
src/lib/services/auth.service.ts
Customer workspace
- Customer workspace
src/app/client/layout.tsx - Order creation and tracking
src/app/client/orders/page.tsx - Dashboard and deadlines
src/app/client/dashboard/page.tsx - Profile and settings
src/app/client/profile/page.tsx - Profile query
src/app/client/profile/_hooks/useProfileQuery.ts - Profile service
src/app/client/profile/_services/profile.service.ts - Balance, planner, referrals
src/app/client/referrals/page.tsx
Workspaces and operations
- Writer workspace
src/app/writer/page.tsx - Administration
src/app/admin/page.tsx
Shared runtime
- Navbar service loader
src/lib/hooks/useNavbarServices.ts - Service data access
src/lib/services/service.service.ts - API client
src/api-client/index.ts
Other components
- Visitor
- Application API
Connections 11
- Visitor → Home and quote: visits
- Visitor → Service catalog: browses
- Visitor → Blogs and FAQs: reads
- Visitor → Sign-in and registration: signs in
- Home and quote → Order creation and tracking: continues to order
- Service details → Order creation and tracking: continues to order
- Auth state → Auth requests: requests auth
- Auth requests → Application API: fetches auth
- Profile query → Profile service: fetches profile
- Navbar service loader → Service data access: loads categories and services
- API client → Application API: sends requests