├── .eslintrc.json ├── .gitignore ├── README.md ├── bun.lockb ├── components.json ├── next.config.mjs ├── package.json ├── postcss.config.mjs ├── prisma ├── dev.db └── schema.prisma ├── public ├── next.svg └── vercel.svg ├── src ├── app │ ├── api │ │ └── auth │ │ │ └── google │ │ │ └── callback │ │ │ └── route.ts │ ├── authenticate │ │ ├── SignInForm.tsx │ │ ├── SignUpForm.tsx │ │ ├── auth.action.ts │ │ └── page.tsx │ ├── dashboard │ │ └── page.tsx │ ├── favicon.ico │ ├── globals.css │ ├── layout.tsx │ └── page.tsx ├── components │ ├── GoogleOAuthButton.tsx │ ├── SignOutButton.tsx │ ├── TabSwitcher.tsx │ └── ui │ │ ├── accordion.tsx │ │ ├── alert-dialog.tsx │ │ ├── alert.tsx │ │ ├── aspect-ratio.tsx │ │ ├── avatar.tsx │ │ ├── badge.tsx │ │ ├── breadcrumb.tsx │ │ ├── button.tsx │ │ ├── calendar.tsx │ │ ├── card.tsx │ │ ├── carousel.tsx │ │ ├── checkbox.tsx │ │ ├── collapsible.tsx │ │ ├── command.tsx │ │ ├── context-menu.tsx │ │ ├── dialog.tsx │ │ ├── drawer.tsx │ │ ├── dropdown-menu.tsx │ │ ├── form.tsx │ │ ├── hover-card.tsx │ │ ├── input-otp.tsx │ │ ├── input.tsx │ │ ├── label.tsx │ │ ├── menubar.tsx │ │ ├── navigation-menu.tsx │ │ ├── pagination.tsx │ │ ├── popover.tsx │ │ ├── progress.tsx │ │ ├── radio-group.tsx │ │ ├── resizable.tsx │ │ ├── scroll-area.tsx │ │ ├── select.tsx │ │ ├── separator.tsx │ │ ├── sheet.tsx │ │ ├── skeleton.tsx │ │ ├── slider.tsx │ │ ├── sonner.tsx │ │ ├── switch.tsx │ │ ├── table.tsx │ │ ├── tabs.tsx │ │ ├── textarea.tsx │ │ ├── toast.tsx │ │ ├── toaster.tsx │ │ ├── toggle-group.tsx │ │ ├── toggle.tsx │ │ ├── tooltip.tsx │ │ └── use-toast.ts └── lib │ ├── googleOauth.ts │ ├── lucia.ts │ ├── prisma.ts │ └── utils.ts ├── tailwind.config.ts └── tsconfig.json /.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "next/core-web-vitals" 3 | } 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Elliott-Chong/lucia-auth-yt/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Elliott-Chong/lucia-auth-yt/HEAD/README.md -------------------------------------------------------------------------------- /bun.lockb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Elliott-Chong/lucia-auth-yt/HEAD/bun.lockb -------------------------------------------------------------------------------- /components.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Elliott-Chong/lucia-auth-yt/HEAD/components.json -------------------------------------------------------------------------------- /next.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Elliott-Chong/lucia-auth-yt/HEAD/next.config.mjs -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Elliott-Chong/lucia-auth-yt/HEAD/package.json -------------------------------------------------------------------------------- /postcss.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Elliott-Chong/lucia-auth-yt/HEAD/postcss.config.mjs -------------------------------------------------------------------------------- /prisma/dev.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Elliott-Chong/lucia-auth-yt/HEAD/prisma/dev.db -------------------------------------------------------------------------------- /prisma/schema.prisma: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Elliott-Chong/lucia-auth-yt/HEAD/prisma/schema.prisma -------------------------------------------------------------------------------- /public/next.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Elliott-Chong/lucia-auth-yt/HEAD/public/next.svg -------------------------------------------------------------------------------- /public/vercel.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Elliott-Chong/lucia-auth-yt/HEAD/public/vercel.svg -------------------------------------------------------------------------------- /src/app/api/auth/google/callback/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Elliott-Chong/lucia-auth-yt/HEAD/src/app/api/auth/google/callback/route.ts -------------------------------------------------------------------------------- /src/app/authenticate/SignInForm.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Elliott-Chong/lucia-auth-yt/HEAD/src/app/authenticate/SignInForm.tsx -------------------------------------------------------------------------------- /src/app/authenticate/SignUpForm.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Elliott-Chong/lucia-auth-yt/HEAD/src/app/authenticate/SignUpForm.tsx -------------------------------------------------------------------------------- /src/app/authenticate/auth.action.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Elliott-Chong/lucia-auth-yt/HEAD/src/app/authenticate/auth.action.ts -------------------------------------------------------------------------------- /src/app/authenticate/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Elliott-Chong/lucia-auth-yt/HEAD/src/app/authenticate/page.tsx -------------------------------------------------------------------------------- /src/app/dashboard/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Elliott-Chong/lucia-auth-yt/HEAD/src/app/dashboard/page.tsx -------------------------------------------------------------------------------- /src/app/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Elliott-Chong/lucia-auth-yt/HEAD/src/app/favicon.ico -------------------------------------------------------------------------------- /src/app/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Elliott-Chong/lucia-auth-yt/HEAD/src/app/globals.css -------------------------------------------------------------------------------- /src/app/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Elliott-Chong/lucia-auth-yt/HEAD/src/app/layout.tsx -------------------------------------------------------------------------------- /src/app/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Elliott-Chong/lucia-auth-yt/HEAD/src/app/page.tsx -------------------------------------------------------------------------------- /src/components/GoogleOAuthButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Elliott-Chong/lucia-auth-yt/HEAD/src/components/GoogleOAuthButton.tsx -------------------------------------------------------------------------------- /src/components/SignOutButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Elliott-Chong/lucia-auth-yt/HEAD/src/components/SignOutButton.tsx -------------------------------------------------------------------------------- /src/components/TabSwitcher.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Elliott-Chong/lucia-auth-yt/HEAD/src/components/TabSwitcher.tsx -------------------------------------------------------------------------------- /src/components/ui/accordion.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Elliott-Chong/lucia-auth-yt/HEAD/src/components/ui/accordion.tsx -------------------------------------------------------------------------------- /src/components/ui/alert-dialog.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Elliott-Chong/lucia-auth-yt/HEAD/src/components/ui/alert-dialog.tsx -------------------------------------------------------------------------------- /src/components/ui/alert.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Elliott-Chong/lucia-auth-yt/HEAD/src/components/ui/alert.tsx -------------------------------------------------------------------------------- /src/components/ui/aspect-ratio.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Elliott-Chong/lucia-auth-yt/HEAD/src/components/ui/aspect-ratio.tsx -------------------------------------------------------------------------------- /src/components/ui/avatar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Elliott-Chong/lucia-auth-yt/HEAD/src/components/ui/avatar.tsx -------------------------------------------------------------------------------- /src/components/ui/badge.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Elliott-Chong/lucia-auth-yt/HEAD/src/components/ui/badge.tsx -------------------------------------------------------------------------------- /src/components/ui/breadcrumb.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Elliott-Chong/lucia-auth-yt/HEAD/src/components/ui/breadcrumb.tsx -------------------------------------------------------------------------------- /src/components/ui/button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Elliott-Chong/lucia-auth-yt/HEAD/src/components/ui/button.tsx -------------------------------------------------------------------------------- /src/components/ui/calendar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Elliott-Chong/lucia-auth-yt/HEAD/src/components/ui/calendar.tsx -------------------------------------------------------------------------------- /src/components/ui/card.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Elliott-Chong/lucia-auth-yt/HEAD/src/components/ui/card.tsx -------------------------------------------------------------------------------- /src/components/ui/carousel.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Elliott-Chong/lucia-auth-yt/HEAD/src/components/ui/carousel.tsx -------------------------------------------------------------------------------- /src/components/ui/checkbox.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Elliott-Chong/lucia-auth-yt/HEAD/src/components/ui/checkbox.tsx -------------------------------------------------------------------------------- /src/components/ui/collapsible.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Elliott-Chong/lucia-auth-yt/HEAD/src/components/ui/collapsible.tsx -------------------------------------------------------------------------------- /src/components/ui/command.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Elliott-Chong/lucia-auth-yt/HEAD/src/components/ui/command.tsx -------------------------------------------------------------------------------- /src/components/ui/context-menu.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Elliott-Chong/lucia-auth-yt/HEAD/src/components/ui/context-menu.tsx -------------------------------------------------------------------------------- /src/components/ui/dialog.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Elliott-Chong/lucia-auth-yt/HEAD/src/components/ui/dialog.tsx -------------------------------------------------------------------------------- /src/components/ui/drawer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Elliott-Chong/lucia-auth-yt/HEAD/src/components/ui/drawer.tsx -------------------------------------------------------------------------------- /src/components/ui/dropdown-menu.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Elliott-Chong/lucia-auth-yt/HEAD/src/components/ui/dropdown-menu.tsx -------------------------------------------------------------------------------- /src/components/ui/form.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Elliott-Chong/lucia-auth-yt/HEAD/src/components/ui/form.tsx -------------------------------------------------------------------------------- /src/components/ui/hover-card.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Elliott-Chong/lucia-auth-yt/HEAD/src/components/ui/hover-card.tsx -------------------------------------------------------------------------------- /src/components/ui/input-otp.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Elliott-Chong/lucia-auth-yt/HEAD/src/components/ui/input-otp.tsx -------------------------------------------------------------------------------- /src/components/ui/input.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Elliott-Chong/lucia-auth-yt/HEAD/src/components/ui/input.tsx -------------------------------------------------------------------------------- /src/components/ui/label.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Elliott-Chong/lucia-auth-yt/HEAD/src/components/ui/label.tsx -------------------------------------------------------------------------------- /src/components/ui/menubar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Elliott-Chong/lucia-auth-yt/HEAD/src/components/ui/menubar.tsx -------------------------------------------------------------------------------- /src/components/ui/navigation-menu.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Elliott-Chong/lucia-auth-yt/HEAD/src/components/ui/navigation-menu.tsx -------------------------------------------------------------------------------- /src/components/ui/pagination.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Elliott-Chong/lucia-auth-yt/HEAD/src/components/ui/pagination.tsx -------------------------------------------------------------------------------- /src/components/ui/popover.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Elliott-Chong/lucia-auth-yt/HEAD/src/components/ui/popover.tsx -------------------------------------------------------------------------------- /src/components/ui/progress.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Elliott-Chong/lucia-auth-yt/HEAD/src/components/ui/progress.tsx -------------------------------------------------------------------------------- /src/components/ui/radio-group.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Elliott-Chong/lucia-auth-yt/HEAD/src/components/ui/radio-group.tsx -------------------------------------------------------------------------------- /src/components/ui/resizable.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Elliott-Chong/lucia-auth-yt/HEAD/src/components/ui/resizable.tsx -------------------------------------------------------------------------------- /src/components/ui/scroll-area.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Elliott-Chong/lucia-auth-yt/HEAD/src/components/ui/scroll-area.tsx -------------------------------------------------------------------------------- /src/components/ui/select.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Elliott-Chong/lucia-auth-yt/HEAD/src/components/ui/select.tsx -------------------------------------------------------------------------------- /src/components/ui/separator.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Elliott-Chong/lucia-auth-yt/HEAD/src/components/ui/separator.tsx -------------------------------------------------------------------------------- /src/components/ui/sheet.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Elliott-Chong/lucia-auth-yt/HEAD/src/components/ui/sheet.tsx -------------------------------------------------------------------------------- /src/components/ui/skeleton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Elliott-Chong/lucia-auth-yt/HEAD/src/components/ui/skeleton.tsx -------------------------------------------------------------------------------- /src/components/ui/slider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Elliott-Chong/lucia-auth-yt/HEAD/src/components/ui/slider.tsx -------------------------------------------------------------------------------- /src/components/ui/sonner.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Elliott-Chong/lucia-auth-yt/HEAD/src/components/ui/sonner.tsx -------------------------------------------------------------------------------- /src/components/ui/switch.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Elliott-Chong/lucia-auth-yt/HEAD/src/components/ui/switch.tsx -------------------------------------------------------------------------------- /src/components/ui/table.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Elliott-Chong/lucia-auth-yt/HEAD/src/components/ui/table.tsx -------------------------------------------------------------------------------- /src/components/ui/tabs.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Elliott-Chong/lucia-auth-yt/HEAD/src/components/ui/tabs.tsx -------------------------------------------------------------------------------- /src/components/ui/textarea.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Elliott-Chong/lucia-auth-yt/HEAD/src/components/ui/textarea.tsx -------------------------------------------------------------------------------- /src/components/ui/toast.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Elliott-Chong/lucia-auth-yt/HEAD/src/components/ui/toast.tsx -------------------------------------------------------------------------------- /src/components/ui/toaster.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Elliott-Chong/lucia-auth-yt/HEAD/src/components/ui/toaster.tsx -------------------------------------------------------------------------------- /src/components/ui/toggle-group.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Elliott-Chong/lucia-auth-yt/HEAD/src/components/ui/toggle-group.tsx -------------------------------------------------------------------------------- /src/components/ui/toggle.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Elliott-Chong/lucia-auth-yt/HEAD/src/components/ui/toggle.tsx -------------------------------------------------------------------------------- /src/components/ui/tooltip.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Elliott-Chong/lucia-auth-yt/HEAD/src/components/ui/tooltip.tsx -------------------------------------------------------------------------------- /src/components/ui/use-toast.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Elliott-Chong/lucia-auth-yt/HEAD/src/components/ui/use-toast.ts -------------------------------------------------------------------------------- /src/lib/googleOauth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Elliott-Chong/lucia-auth-yt/HEAD/src/lib/googleOauth.ts -------------------------------------------------------------------------------- /src/lib/lucia.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Elliott-Chong/lucia-auth-yt/HEAD/src/lib/lucia.ts -------------------------------------------------------------------------------- /src/lib/prisma.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Elliott-Chong/lucia-auth-yt/HEAD/src/lib/prisma.ts -------------------------------------------------------------------------------- /src/lib/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Elliott-Chong/lucia-auth-yt/HEAD/src/lib/utils.ts -------------------------------------------------------------------------------- /tailwind.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Elliott-Chong/lucia-auth-yt/HEAD/tailwind.config.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Elliott-Chong/lucia-auth-yt/HEAD/tsconfig.json --------------------------------------------------------------------------------