├── .env ├── .eslintrc.json ├── .gitignore ├── Dockerfile ├── README.md ├── actions └── auth.actions.ts ├── app ├── (pages) │ ├── sign-in │ │ └── page.tsx │ └── sign-up │ │ └── page.tsx ├── favicon.ico ├── globals.css ├── layout.tsx └── page.tsx ├── components.json ├── components ├── SignInForm.tsx ├── SignUpForm.tsx └── ui │ ├── button.tsx │ ├── form.tsx │ ├── input.tsx │ ├── label.tsx │ ├── toast.tsx │ ├── toaster.tsx │ └── use-toast.ts ├── docker-compose.yml ├── drizzle.config.ts ├── drizzle ├── 0000_conscious_harry_osborn.sql ├── 0001_bouncy_manta.sql ├── 0002_pale_winter_soldier.sql ├── 0003_romantic_peter_parker.sql └── meta │ ├── 0000_snapshot.json │ ├── 0001_snapshot.json │ ├── 0002_snapshot.json │ ├── 0003_snapshot.json │ └── _journal.json ├── lib ├── database │ ├── index.ts │ └── schema.ts ├── lucia │ ├── adapter.ts │ └── index.ts └── utils.ts ├── next.config.mjs ├── package.json ├── postcss.config.js ├── public ├── next.svg └── vercel.svg ├── tailwind.config.ts ├── tsconfig.json └── types └── index.ts /.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugurkellecioglu/next-14-lucia-auth-postgresql-drizzle-typescript-example/HEAD/.env -------------------------------------------------------------------------------- /.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "next/core-web-vitals" 3 | } 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugurkellecioglu/next-14-lucia-auth-postgresql-drizzle-typescript-example/HEAD/.gitignore -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugurkellecioglu/next-14-lucia-auth-postgresql-drizzle-typescript-example/HEAD/Dockerfile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugurkellecioglu/next-14-lucia-auth-postgresql-drizzle-typescript-example/HEAD/README.md -------------------------------------------------------------------------------- /actions/auth.actions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugurkellecioglu/next-14-lucia-auth-postgresql-drizzle-typescript-example/HEAD/actions/auth.actions.ts -------------------------------------------------------------------------------- /app/(pages)/sign-in/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugurkellecioglu/next-14-lucia-auth-postgresql-drizzle-typescript-example/HEAD/app/(pages)/sign-in/page.tsx -------------------------------------------------------------------------------- /app/(pages)/sign-up/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugurkellecioglu/next-14-lucia-auth-postgresql-drizzle-typescript-example/HEAD/app/(pages)/sign-up/page.tsx -------------------------------------------------------------------------------- /app/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugurkellecioglu/next-14-lucia-auth-postgresql-drizzle-typescript-example/HEAD/app/favicon.ico -------------------------------------------------------------------------------- /app/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugurkellecioglu/next-14-lucia-auth-postgresql-drizzle-typescript-example/HEAD/app/globals.css -------------------------------------------------------------------------------- /app/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugurkellecioglu/next-14-lucia-auth-postgresql-drizzle-typescript-example/HEAD/app/layout.tsx -------------------------------------------------------------------------------- /app/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugurkellecioglu/next-14-lucia-auth-postgresql-drizzle-typescript-example/HEAD/app/page.tsx -------------------------------------------------------------------------------- /components.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugurkellecioglu/next-14-lucia-auth-postgresql-drizzle-typescript-example/HEAD/components.json -------------------------------------------------------------------------------- /components/SignInForm.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugurkellecioglu/next-14-lucia-auth-postgresql-drizzle-typescript-example/HEAD/components/SignInForm.tsx -------------------------------------------------------------------------------- /components/SignUpForm.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugurkellecioglu/next-14-lucia-auth-postgresql-drizzle-typescript-example/HEAD/components/SignUpForm.tsx -------------------------------------------------------------------------------- /components/ui/button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugurkellecioglu/next-14-lucia-auth-postgresql-drizzle-typescript-example/HEAD/components/ui/button.tsx -------------------------------------------------------------------------------- /components/ui/form.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugurkellecioglu/next-14-lucia-auth-postgresql-drizzle-typescript-example/HEAD/components/ui/form.tsx -------------------------------------------------------------------------------- /components/ui/input.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugurkellecioglu/next-14-lucia-auth-postgresql-drizzle-typescript-example/HEAD/components/ui/input.tsx -------------------------------------------------------------------------------- /components/ui/label.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugurkellecioglu/next-14-lucia-auth-postgresql-drizzle-typescript-example/HEAD/components/ui/label.tsx -------------------------------------------------------------------------------- /components/ui/toast.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugurkellecioglu/next-14-lucia-auth-postgresql-drizzle-typescript-example/HEAD/components/ui/toast.tsx -------------------------------------------------------------------------------- /components/ui/toaster.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugurkellecioglu/next-14-lucia-auth-postgresql-drizzle-typescript-example/HEAD/components/ui/toaster.tsx -------------------------------------------------------------------------------- /components/ui/use-toast.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugurkellecioglu/next-14-lucia-auth-postgresql-drizzle-typescript-example/HEAD/components/ui/use-toast.ts -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugurkellecioglu/next-14-lucia-auth-postgresql-drizzle-typescript-example/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /drizzle.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugurkellecioglu/next-14-lucia-auth-postgresql-drizzle-typescript-example/HEAD/drizzle.config.ts -------------------------------------------------------------------------------- /drizzle/0000_conscious_harry_osborn.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugurkellecioglu/next-14-lucia-auth-postgresql-drizzle-typescript-example/HEAD/drizzle/0000_conscious_harry_osborn.sql -------------------------------------------------------------------------------- /drizzle/0001_bouncy_manta.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE "user"; -------------------------------------------------------------------------------- /drizzle/0002_pale_winter_soldier.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugurkellecioglu/next-14-lucia-auth-postgresql-drizzle-typescript-example/HEAD/drizzle/0002_pale_winter_soldier.sql -------------------------------------------------------------------------------- /drizzle/0003_romantic_peter_parker.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugurkellecioglu/next-14-lucia-auth-postgresql-drizzle-typescript-example/HEAD/drizzle/0003_romantic_peter_parker.sql -------------------------------------------------------------------------------- /drizzle/meta/0000_snapshot.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugurkellecioglu/next-14-lucia-auth-postgresql-drizzle-typescript-example/HEAD/drizzle/meta/0000_snapshot.json -------------------------------------------------------------------------------- /drizzle/meta/0001_snapshot.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugurkellecioglu/next-14-lucia-auth-postgresql-drizzle-typescript-example/HEAD/drizzle/meta/0001_snapshot.json -------------------------------------------------------------------------------- /drizzle/meta/0002_snapshot.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugurkellecioglu/next-14-lucia-auth-postgresql-drizzle-typescript-example/HEAD/drizzle/meta/0002_snapshot.json -------------------------------------------------------------------------------- /drizzle/meta/0003_snapshot.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugurkellecioglu/next-14-lucia-auth-postgresql-drizzle-typescript-example/HEAD/drizzle/meta/0003_snapshot.json -------------------------------------------------------------------------------- /drizzle/meta/_journal.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugurkellecioglu/next-14-lucia-auth-postgresql-drizzle-typescript-example/HEAD/drizzle/meta/_journal.json -------------------------------------------------------------------------------- /lib/database/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugurkellecioglu/next-14-lucia-auth-postgresql-drizzle-typescript-example/HEAD/lib/database/index.ts -------------------------------------------------------------------------------- /lib/database/schema.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugurkellecioglu/next-14-lucia-auth-postgresql-drizzle-typescript-example/HEAD/lib/database/schema.ts -------------------------------------------------------------------------------- /lib/lucia/adapter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugurkellecioglu/next-14-lucia-auth-postgresql-drizzle-typescript-example/HEAD/lib/lucia/adapter.ts -------------------------------------------------------------------------------- /lib/lucia/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugurkellecioglu/next-14-lucia-auth-postgresql-drizzle-typescript-example/HEAD/lib/lucia/index.ts -------------------------------------------------------------------------------- /lib/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugurkellecioglu/next-14-lucia-auth-postgresql-drizzle-typescript-example/HEAD/lib/utils.ts -------------------------------------------------------------------------------- /next.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugurkellecioglu/next-14-lucia-auth-postgresql-drizzle-typescript-example/HEAD/next.config.mjs -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugurkellecioglu/next-14-lucia-auth-postgresql-drizzle-typescript-example/HEAD/package.json -------------------------------------------------------------------------------- /postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugurkellecioglu/next-14-lucia-auth-postgresql-drizzle-typescript-example/HEAD/postcss.config.js -------------------------------------------------------------------------------- /public/next.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugurkellecioglu/next-14-lucia-auth-postgresql-drizzle-typescript-example/HEAD/public/next.svg -------------------------------------------------------------------------------- /public/vercel.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugurkellecioglu/next-14-lucia-auth-postgresql-drizzle-typescript-example/HEAD/public/vercel.svg -------------------------------------------------------------------------------- /tailwind.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugurkellecioglu/next-14-lucia-auth-postgresql-drizzle-typescript-example/HEAD/tailwind.config.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugurkellecioglu/next-14-lucia-auth-postgresql-drizzle-typescript-example/HEAD/tsconfig.json -------------------------------------------------------------------------------- /types/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugurkellecioglu/next-14-lucia-auth-postgresql-drizzle-typescript-example/HEAD/types/index.ts --------------------------------------------------------------------------------