How faizm10/dressforsuccess works
Project type and purpose
• DressForSuccess is a full-stack web platform (Next.js 13 App Router) for managing and renting professional attire.
• It uses Next.js for the UI + serverless API routes, Supabase for database, auth, and storage, and Apollo/GraphQL for data fetching.
File structure
• Top-level “frontend” directory contains an App Router (app/), API routes (app/api/…), global layout, middleware, and static/public assets.
• components/ holds all React UI pieces (forms, tables, modals, theme providers, RadixUI wrappers).
• hooks/ contains custom React hooks for attires, mobile layouts, and Supabase uploads.
• lib/ provides providers and clients:
• apollo-provider.tsx sets up the GraphQL client
• graphql/schema.ts defines your GraphQL schema
• supabase/client.ts, supabase/server.ts, and supabase/middleware.ts glue Next.js to Supabase
• Configuration and build files: next.config.ts, tsconfig.json, package.json, PostCSS, ESLint, Tailwind.
README
• Confirms tech stack: Next.js, TypeScript, Tailwind CSS, GraphQL, Supabase, RadixUI.
• Summarizes feature set: user authentication flows, calendar, dashboards, emails, student/attire management.