How bautiliendo/miagenda-app works
Project type and purpose
• This is a full-stack Next.js 13 “App Router” application written in TypeScript.
• It provides authentication (sign-in/sign-up), a private user dashboard (agenda, events, schedule, help), public booking flows, and a collection of UI components.
• The backend layer uses Next.js server components and Server Actions, persists data via Drizzle ORM (SQL migrations/schema), and integrates with Google Calendar.
File structure
• Top-level configs:
• next.config.ts (Next.js settings)
• drizzle.config.ts & src/drizzle/* (DB connection, migrations, schema)
• package.json, ESLint, PostCSS, TS config.
• src/app: App Router pages, organized by route groups:
• (auth): sign-in/out, sign-up
• (private): authenticated dashboard (agenda, events CRUD, schedule, help)
• (public): booking flows by clerkUserId & eventId
• dashboard (reports) & global layout/styles.
• src/server/actions: business-logic entry points (events.ts, meetings.ts, schedule.ts)
• src/server/googleCalendar.ts: external API integration.
• src/components & src/sections: UI building blocks, forms, navigation, charts.
• src/hooks & src/lib: client hooks and shared utilities.
README
• Confirms a Next.js app bootstrapped by create-next-app.
• Deployment flow targeted at Vercel.