├── .cursor └── rules │ └── nextjs.mdc ├── .cursorrules ├── .eslintrc.json ├── .gitignore ├── .prettierrc ├── .vscode ├── extensions.json └── settings.json ├── CLAUDE.md ├── LICENSE ├── README.md ├── app ├── api │ ├── drive │ │ └── verify │ │ │ └── route.ts │ └── stripe │ │ ├── accounts │ │ ├── [id] │ │ │ └── route.ts │ │ └── route.ts │ │ └── volume │ │ └── route.ts ├── app │ └── dashboard │ │ └── page.tsx ├── auth │ ├── api │ │ └── auth │ │ │ └── logout │ │ │ └── route.ts │ ├── google │ │ ├── callback │ │ │ └── route.ts │ │ └── route.ts │ ├── login │ │ └── page.tsx │ └── logout │ │ └── route.ts ├── dashboard │ └── stripe │ │ ├── gross-volume-manager.tsx │ │ └── page.tsx ├── design │ └── page.tsx ├── favicon.ico ├── globals.css ├── layout.tsx ├── page.tsx └── settings │ ├── drive │ └── verify-button.tsx │ └── stripe │ └── page.tsx ├── bun.lock ├── components.json ├── components ├── NavBar.tsx ├── auth │ └── LogoutButton.tsx ├── nav │ └── NavBar.tsx └── ui │ ├── alert-dialog.tsx │ ├── badge.tsx │ ├── button.tsx │ ├── card.tsx │ ├── chart.tsx │ ├── dropdown-menu.tsx │ ├── input.tsx │ ├── select.tsx │ ├── separator.tsx │ ├── switch.tsx │ └── textarea.tsx ├── eslint.config.mjs ├── lib ├── auth.ts ├── db.ts ├── drive │ ├── README.md │ ├── client.ts │ ├── index.ts │ ├── operations │ │ ├── files.ts │ │ └── folders.ts │ ├── service.ts │ ├── types.ts │ └── utils │ │ ├── auth.ts │ │ └── error.ts ├── finance │ └── README.md ├── google-auth.ts ├── stripe │ ├── api │ │ ├── client.ts │ │ ├── service.ts │ │ └── stripe.ts │ ├── components │ │ ├── DeleteStripeAccountButton.tsx │ │ ├── GrossVolumeChart.tsx │ │ ├── StripeAccountForm.tsx │ │ ├── StripeAccountsList.tsx │ │ └── index.ts │ ├── index.ts │ └── types.ts └── utils.ts ├── middleware.ts ├── next.config.ts ├── package.json ├── postcss.config.mjs ├── prisma └── schema.prisma ├── public ├── file.svg ├── globe.svg ├── next.svg ├── vercel.svg └── window.svg └── tsconfig.json /.cursor/rules/nextjs.mdc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/saasbooks/HEAD/.cursor/rules/nextjs.mdc -------------------------------------------------------------------------------- /.cursorrules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/saasbooks/HEAD/.cursorrules -------------------------------------------------------------------------------- /.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/saasbooks/HEAD/.eslintrc.json -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/saasbooks/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/saasbooks/HEAD/.prettierrc -------------------------------------------------------------------------------- /.vscode/extensions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/saasbooks/HEAD/.vscode/extensions.json -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/saasbooks/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /CLAUDE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/saasbooks/HEAD/CLAUDE.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/saasbooks/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/saasbooks/HEAD/README.md -------------------------------------------------------------------------------- /app/api/drive/verify/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/saasbooks/HEAD/app/api/drive/verify/route.ts -------------------------------------------------------------------------------- /app/api/stripe/accounts/[id]/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/saasbooks/HEAD/app/api/stripe/accounts/[id]/route.ts -------------------------------------------------------------------------------- /app/api/stripe/accounts/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/saasbooks/HEAD/app/api/stripe/accounts/route.ts -------------------------------------------------------------------------------- /app/api/stripe/volume/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/saasbooks/HEAD/app/api/stripe/volume/route.ts -------------------------------------------------------------------------------- /app/app/dashboard/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/saasbooks/HEAD/app/app/dashboard/page.tsx -------------------------------------------------------------------------------- /app/auth/api/auth/logout/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/saasbooks/HEAD/app/auth/api/auth/logout/route.ts -------------------------------------------------------------------------------- /app/auth/google/callback/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/saasbooks/HEAD/app/auth/google/callback/route.ts -------------------------------------------------------------------------------- /app/auth/google/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/saasbooks/HEAD/app/auth/google/route.ts -------------------------------------------------------------------------------- /app/auth/login/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/saasbooks/HEAD/app/auth/login/page.tsx -------------------------------------------------------------------------------- /app/auth/logout/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/saasbooks/HEAD/app/auth/logout/route.ts -------------------------------------------------------------------------------- /app/dashboard/stripe/gross-volume-manager.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/saasbooks/HEAD/app/dashboard/stripe/gross-volume-manager.tsx -------------------------------------------------------------------------------- /app/dashboard/stripe/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/saasbooks/HEAD/app/dashboard/stripe/page.tsx -------------------------------------------------------------------------------- /app/design/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/saasbooks/HEAD/app/design/page.tsx -------------------------------------------------------------------------------- /app/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/saasbooks/HEAD/app/favicon.ico -------------------------------------------------------------------------------- /app/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/saasbooks/HEAD/app/globals.css -------------------------------------------------------------------------------- /app/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/saasbooks/HEAD/app/layout.tsx -------------------------------------------------------------------------------- /app/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/saasbooks/HEAD/app/page.tsx -------------------------------------------------------------------------------- /app/settings/drive/verify-button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/saasbooks/HEAD/app/settings/drive/verify-button.tsx -------------------------------------------------------------------------------- /app/settings/stripe/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/saasbooks/HEAD/app/settings/stripe/page.tsx -------------------------------------------------------------------------------- /bun.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/saasbooks/HEAD/bun.lock -------------------------------------------------------------------------------- /components.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/saasbooks/HEAD/components.json -------------------------------------------------------------------------------- /components/NavBar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/saasbooks/HEAD/components/NavBar.tsx -------------------------------------------------------------------------------- /components/auth/LogoutButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/saasbooks/HEAD/components/auth/LogoutButton.tsx -------------------------------------------------------------------------------- /components/nav/NavBar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/saasbooks/HEAD/components/nav/NavBar.tsx -------------------------------------------------------------------------------- /components/ui/alert-dialog.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/saasbooks/HEAD/components/ui/alert-dialog.tsx -------------------------------------------------------------------------------- /components/ui/badge.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/saasbooks/HEAD/components/ui/badge.tsx -------------------------------------------------------------------------------- /components/ui/button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/saasbooks/HEAD/components/ui/button.tsx -------------------------------------------------------------------------------- /components/ui/card.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/saasbooks/HEAD/components/ui/card.tsx -------------------------------------------------------------------------------- /components/ui/chart.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/saasbooks/HEAD/components/ui/chart.tsx -------------------------------------------------------------------------------- /components/ui/dropdown-menu.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/saasbooks/HEAD/components/ui/dropdown-menu.tsx -------------------------------------------------------------------------------- /components/ui/input.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/saasbooks/HEAD/components/ui/input.tsx -------------------------------------------------------------------------------- /components/ui/select.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/saasbooks/HEAD/components/ui/select.tsx -------------------------------------------------------------------------------- /components/ui/separator.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/saasbooks/HEAD/components/ui/separator.tsx -------------------------------------------------------------------------------- /components/ui/switch.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/saasbooks/HEAD/components/ui/switch.tsx -------------------------------------------------------------------------------- /components/ui/textarea.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/saasbooks/HEAD/components/ui/textarea.tsx -------------------------------------------------------------------------------- /eslint.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/saasbooks/HEAD/eslint.config.mjs -------------------------------------------------------------------------------- /lib/auth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/saasbooks/HEAD/lib/auth.ts -------------------------------------------------------------------------------- /lib/db.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/saasbooks/HEAD/lib/db.ts -------------------------------------------------------------------------------- /lib/drive/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/saasbooks/HEAD/lib/drive/README.md -------------------------------------------------------------------------------- /lib/drive/client.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/saasbooks/HEAD/lib/drive/client.ts -------------------------------------------------------------------------------- /lib/drive/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/saasbooks/HEAD/lib/drive/index.ts -------------------------------------------------------------------------------- /lib/drive/operations/files.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/saasbooks/HEAD/lib/drive/operations/files.ts -------------------------------------------------------------------------------- /lib/drive/operations/folders.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/saasbooks/HEAD/lib/drive/operations/folders.ts -------------------------------------------------------------------------------- /lib/drive/service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/saasbooks/HEAD/lib/drive/service.ts -------------------------------------------------------------------------------- /lib/drive/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/saasbooks/HEAD/lib/drive/types.ts -------------------------------------------------------------------------------- /lib/drive/utils/auth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/saasbooks/HEAD/lib/drive/utils/auth.ts -------------------------------------------------------------------------------- /lib/drive/utils/error.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/saasbooks/HEAD/lib/drive/utils/error.ts -------------------------------------------------------------------------------- /lib/finance/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/saasbooks/HEAD/lib/finance/README.md -------------------------------------------------------------------------------- /lib/google-auth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/saasbooks/HEAD/lib/google-auth.ts -------------------------------------------------------------------------------- /lib/stripe/api/client.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/saasbooks/HEAD/lib/stripe/api/client.ts -------------------------------------------------------------------------------- /lib/stripe/api/service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/saasbooks/HEAD/lib/stripe/api/service.ts -------------------------------------------------------------------------------- /lib/stripe/api/stripe.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/saasbooks/HEAD/lib/stripe/api/stripe.ts -------------------------------------------------------------------------------- /lib/stripe/components/DeleteStripeAccountButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/saasbooks/HEAD/lib/stripe/components/DeleteStripeAccountButton.tsx -------------------------------------------------------------------------------- /lib/stripe/components/GrossVolumeChart.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/saasbooks/HEAD/lib/stripe/components/GrossVolumeChart.tsx -------------------------------------------------------------------------------- /lib/stripe/components/StripeAccountForm.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/saasbooks/HEAD/lib/stripe/components/StripeAccountForm.tsx -------------------------------------------------------------------------------- /lib/stripe/components/StripeAccountsList.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/saasbooks/HEAD/lib/stripe/components/StripeAccountsList.tsx -------------------------------------------------------------------------------- /lib/stripe/components/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/saasbooks/HEAD/lib/stripe/components/index.ts -------------------------------------------------------------------------------- /lib/stripe/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/saasbooks/HEAD/lib/stripe/index.ts -------------------------------------------------------------------------------- /lib/stripe/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/saasbooks/HEAD/lib/stripe/types.ts -------------------------------------------------------------------------------- /lib/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/saasbooks/HEAD/lib/utils.ts -------------------------------------------------------------------------------- /middleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/saasbooks/HEAD/middleware.ts -------------------------------------------------------------------------------- /next.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/saasbooks/HEAD/next.config.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/saasbooks/HEAD/package.json -------------------------------------------------------------------------------- /postcss.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/saasbooks/HEAD/postcss.config.mjs -------------------------------------------------------------------------------- /prisma/schema.prisma: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/saasbooks/HEAD/prisma/schema.prisma -------------------------------------------------------------------------------- /public/file.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/saasbooks/HEAD/public/file.svg -------------------------------------------------------------------------------- /public/globe.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/saasbooks/HEAD/public/globe.svg -------------------------------------------------------------------------------- /public/next.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/saasbooks/HEAD/public/next.svg -------------------------------------------------------------------------------- /public/vercel.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/saasbooks/HEAD/public/vercel.svg -------------------------------------------------------------------------------- /public/window.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/saasbooks/HEAD/public/window.svg -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/saasbooks/HEAD/tsconfig.json --------------------------------------------------------------------------------