How diego-lopes/acme works
Project type and purpose
• This is a full-stack Next.js application using the new App Router (Next.js 13+), serving a dashboard with customers and invoices, plus login and seed routes.
• Purpose: demonstration starter for a dashboard course—CRUD on invoices, lists of customers, revenue‐chart, etc., with client/server components and a simple auth flow.
File structure
• Top‐level: next.config.ts, middleware.ts, auth.ts/auth.config.ts → global configuration & auth middleware.
• app/ directory (Next.js App Router):
• app/layout.tsx, app/dashboard/layout.tsx → server layouts.
• app/dashboard/(overview), customers, invoices → nested route groups and pages.
• app/login/page.tsx, app/seed/route.ts → special routes (login form + data seeding API).
• app/lib/ → server utilities: data fetching, action handlers, placeholder data, common types.
• app/ui/ → shared React components (buttons, tables, charts, forms).
• public/, global.css, tailwind.config.ts → static assets and global styling.
• package.json, pnpm-lock.yaml → dependencies and scripts.
README
• Confirms it’s a “starter template for the Next.js App Router Course” focused on a dashboard application.