How yesuaaa/nexus works
Nexus Starter is a two-app foundation rather than a domain-specific product. The main user workflow is opening the web UI and checking API and database availability: the home page sends HTTP requests to Express, whose database check obtains Prisma and queries PostgreSQL. The web app also provides routed home, about, and not-found pages. README documents Supabase-backed Prisma modeling and migrations as the intended extension path. Source excerpts establish the health-check path and database-check calls; deployment routing is documented, while unsampled schema details are not expanded.
Main entry points: home.tsx Status dashboard · App.tsx Route shell · index.ts Express endpoints · main.tsx Web bootstrap
Components 13
Web application
- Web bootstrap
apps/web/src/main.tsx - Route shell
apps/web/src/App.tsx - Status dashboard
apps/web/src/pages/home.tsx - Not found page
apps/web/src/pages/not-found.tsx - Button UI
apps/web/src/components/ui/button.tsx - Class utilities
apps/web/src/lib/utils.ts - Development API proxy
apps/web/vite.config.ts
API service
- Express endpoints
apps/api/src/index.ts
Persistence
- Prisma connection
apps/api/src/db.ts - Example data model
apps/api/prisma/schema.prisma - Supabase PostgreSQL
Other components
- Browser user
- API host
Connections 12
- Browser user → Web bootstrap: opens
README.md - Web bootstrap → Route shell: renders
apps/web/src/main.tsx - Route shell → Status dashboard: routes to
apps/web/src/App.tsx - Route shell → Not found page: routes to
apps/web/src/App.tsx - Status dashboard → Button UI: renders
apps/web/src/pages/home.tsx - Button UI → Class utilities: uses
apps/web/src/components/ui/button.tsx - Status dashboard → Express endpoints: checks via HTTP
apps/web/src/pages/home.tsx - Status dashboard → API host: requests API
README.md - Development API proxy → Express endpoints: forwards /api
README.md - Express endpoints → Prisma connection: gets client
apps/api/src/index.ts - Prisma connection → Supabase PostgreSQL: queries
- Example data model → Supabase PostgreSQL: models data
README.md