├── .gitignore ├── LICENSE ├── README.md ├── docs └── readme.md ├── example ├── .env.example ├── .gitignore ├── README.md ├── components │ ├── CallToAction.tsx │ ├── Container.tsx │ ├── Faqs.tsx │ ├── Features.tsx │ ├── Footer.tsx │ ├── Header.tsx │ ├── Hero.tsx │ ├── Logo.tsx │ └── Pricing.tsx ├── db │ ├── migrations │ │ ├── 20210610034608_initial │ │ │ └── migration.sql │ │ └── migration_lock.toml │ ├── schema.prisma │ └── seeds │ │ ├── index.ts │ │ └── users.ts ├── middleware │ ├── request-id.ts │ └── request-log.ts ├── next-env.d.ts ├── next.config.js ├── package.json ├── pages │ ├── _app.tsx │ ├── _document.tsx │ ├── api │ │ ├── chat.ts │ │ ├── healthz.ts │ │ └── users │ │ │ ├── [id].ts │ │ │ └── index.ts │ ├── chat.tsx │ ├── gssp.tsx │ └── index.tsx ├── postcss.config.js ├── public │ └── .gitkeep ├── tailwind.config.js └── tsconfig.json ├── lerna.json ├── package.json ├── packages ├── create-next-saas │ ├── package.json │ ├── src │ │ └── index.ts │ └── tsconfig.json └── next-saas │ ├── package.json │ ├── src │ ├── api-handler.ts │ ├── context.ts │ ├── errors.ts │ ├── event.ts │ ├── index.ts │ ├── mailer.ts │ ├── prisma.ts │ ├── runtime.ts │ └── seeder.ts │ └── tsconfig.json ├── tsconfig.json └── turbo.json /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aniftyco-archive/next-saas/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aniftyco-archive/next-saas/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aniftyco-archive/next-saas/HEAD/README.md -------------------------------------------------------------------------------- /docs/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aniftyco-archive/next-saas/HEAD/docs/readme.md -------------------------------------------------------------------------------- /example/.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aniftyco-archive/next-saas/HEAD/example/.env.example -------------------------------------------------------------------------------- /example/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aniftyco-archive/next-saas/HEAD/example/.gitignore -------------------------------------------------------------------------------- /example/README.md: -------------------------------------------------------------------------------- 1 | # Taskr 2 | 3 | This is an example app built using next-saas 4 | -------------------------------------------------------------------------------- /example/components/CallToAction.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aniftyco-archive/next-saas/HEAD/example/components/CallToAction.tsx -------------------------------------------------------------------------------- /example/components/Container.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aniftyco-archive/next-saas/HEAD/example/components/Container.tsx -------------------------------------------------------------------------------- /example/components/Faqs.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aniftyco-archive/next-saas/HEAD/example/components/Faqs.tsx -------------------------------------------------------------------------------- /example/components/Features.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aniftyco-archive/next-saas/HEAD/example/components/Features.tsx -------------------------------------------------------------------------------- /example/components/Footer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aniftyco-archive/next-saas/HEAD/example/components/Footer.tsx -------------------------------------------------------------------------------- /example/components/Header.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aniftyco-archive/next-saas/HEAD/example/components/Header.tsx -------------------------------------------------------------------------------- /example/components/Hero.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aniftyco-archive/next-saas/HEAD/example/components/Hero.tsx -------------------------------------------------------------------------------- /example/components/Logo.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aniftyco-archive/next-saas/HEAD/example/components/Logo.tsx -------------------------------------------------------------------------------- /example/components/Pricing.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aniftyco-archive/next-saas/HEAD/example/components/Pricing.tsx -------------------------------------------------------------------------------- /example/db/migrations/20210610034608_initial/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aniftyco-archive/next-saas/HEAD/example/db/migrations/20210610034608_initial/migration.sql -------------------------------------------------------------------------------- /example/db/migrations/migration_lock.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aniftyco-archive/next-saas/HEAD/example/db/migrations/migration_lock.toml -------------------------------------------------------------------------------- /example/db/schema.prisma: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aniftyco-archive/next-saas/HEAD/example/db/schema.prisma -------------------------------------------------------------------------------- /example/db/seeds/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aniftyco-archive/next-saas/HEAD/example/db/seeds/index.ts -------------------------------------------------------------------------------- /example/db/seeds/users.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aniftyco-archive/next-saas/HEAD/example/db/seeds/users.ts -------------------------------------------------------------------------------- /example/middleware/request-id.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aniftyco-archive/next-saas/HEAD/example/middleware/request-id.ts -------------------------------------------------------------------------------- /example/middleware/request-log.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aniftyco-archive/next-saas/HEAD/example/middleware/request-log.ts -------------------------------------------------------------------------------- /example/next-env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aniftyco-archive/next-saas/HEAD/example/next-env.d.ts -------------------------------------------------------------------------------- /example/next.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aniftyco-archive/next-saas/HEAD/example/next.config.js -------------------------------------------------------------------------------- /example/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aniftyco-archive/next-saas/HEAD/example/package.json -------------------------------------------------------------------------------- /example/pages/_app.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aniftyco-archive/next-saas/HEAD/example/pages/_app.tsx -------------------------------------------------------------------------------- /example/pages/_document.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aniftyco-archive/next-saas/HEAD/example/pages/_document.tsx -------------------------------------------------------------------------------- /example/pages/api/chat.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aniftyco-archive/next-saas/HEAD/example/pages/api/chat.ts -------------------------------------------------------------------------------- /example/pages/api/healthz.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aniftyco-archive/next-saas/HEAD/example/pages/api/healthz.ts -------------------------------------------------------------------------------- /example/pages/api/users/[id].ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aniftyco-archive/next-saas/HEAD/example/pages/api/users/[id].ts -------------------------------------------------------------------------------- /example/pages/api/users/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aniftyco-archive/next-saas/HEAD/example/pages/api/users/index.ts -------------------------------------------------------------------------------- /example/pages/chat.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aniftyco-archive/next-saas/HEAD/example/pages/chat.tsx -------------------------------------------------------------------------------- /example/pages/gssp.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aniftyco-archive/next-saas/HEAD/example/pages/gssp.tsx -------------------------------------------------------------------------------- /example/pages/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aniftyco-archive/next-saas/HEAD/example/pages/index.tsx -------------------------------------------------------------------------------- /example/postcss.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | plugins: ['tailwindcss', 'autoprefixer'], 3 | }; 4 | -------------------------------------------------------------------------------- /example/public/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /example/tailwind.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aniftyco-archive/next-saas/HEAD/example/tailwind.config.js -------------------------------------------------------------------------------- /example/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aniftyco-archive/next-saas/HEAD/example/tsconfig.json -------------------------------------------------------------------------------- /lerna.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aniftyco-archive/next-saas/HEAD/lerna.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aniftyco-archive/next-saas/HEAD/package.json -------------------------------------------------------------------------------- /packages/create-next-saas/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aniftyco-archive/next-saas/HEAD/packages/create-next-saas/package.json -------------------------------------------------------------------------------- /packages/create-next-saas/src/index.ts: -------------------------------------------------------------------------------- 1 | console.log('placeholder for create-next-saas'); 2 | -------------------------------------------------------------------------------- /packages/create-next-saas/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aniftyco-archive/next-saas/HEAD/packages/create-next-saas/tsconfig.json -------------------------------------------------------------------------------- /packages/next-saas/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aniftyco-archive/next-saas/HEAD/packages/next-saas/package.json -------------------------------------------------------------------------------- /packages/next-saas/src/api-handler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aniftyco-archive/next-saas/HEAD/packages/next-saas/src/api-handler.ts -------------------------------------------------------------------------------- /packages/next-saas/src/context.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aniftyco-archive/next-saas/HEAD/packages/next-saas/src/context.ts -------------------------------------------------------------------------------- /packages/next-saas/src/errors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aniftyco-archive/next-saas/HEAD/packages/next-saas/src/errors.ts -------------------------------------------------------------------------------- /packages/next-saas/src/event.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aniftyco-archive/next-saas/HEAD/packages/next-saas/src/event.ts -------------------------------------------------------------------------------- /packages/next-saas/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aniftyco-archive/next-saas/HEAD/packages/next-saas/src/index.ts -------------------------------------------------------------------------------- /packages/next-saas/src/mailer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aniftyco-archive/next-saas/HEAD/packages/next-saas/src/mailer.ts -------------------------------------------------------------------------------- /packages/next-saas/src/prisma.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aniftyco-archive/next-saas/HEAD/packages/next-saas/src/prisma.ts -------------------------------------------------------------------------------- /packages/next-saas/src/runtime.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aniftyco-archive/next-saas/HEAD/packages/next-saas/src/runtime.ts -------------------------------------------------------------------------------- /packages/next-saas/src/seeder.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aniftyco-archive/next-saas/HEAD/packages/next-saas/src/seeder.ts -------------------------------------------------------------------------------- /packages/next-saas/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aniftyco-archive/next-saas/HEAD/packages/next-saas/tsconfig.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aniftyco-archive/next-saas/HEAD/tsconfig.json -------------------------------------------------------------------------------- /turbo.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aniftyco-archive/next-saas/HEAD/turbo.json --------------------------------------------------------------------------------