├── .eslintrc.json
├── .env
├── src
└── app
│ ├── globals.css
│ ├── favicon.ico
│ ├── SessionProvider.tsx
│ ├── layout.tsx
│ ├── page.tsx
│ ├── firebase.ts
│ ├── forgot-password
│ └── page.tsx
│ ├── signin
│ └── page.tsx
│ └── signup
│ └── page.tsx
├── next.config.js
├── postcss.config.js
├── .gitignore
├── tailwind.config.js
├── public
├── vercel.svg
└── next.svg
├── package.json
├── tsconfig.json
├── pages
└── api
│ └── auth
│ └── [...nextauth].ts
└── README.md
/.eslintrc.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "next/core-web-vitals"
3 | }
4 |
--------------------------------------------------------------------------------
/.env:
--------------------------------------------------------------------------------
1 | NEXTAUTH_URL=http://localhost:3000
2 | NEXTAUTH_SECRET=SuperSecret
3 |
--------------------------------------------------------------------------------
/src/app/globals.css:
--------------------------------------------------------------------------------
1 | @tailwind base;
2 | @tailwind components;
3 | @tailwind utilities;
4 |
--------------------------------------------------------------------------------
/src/app/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jimbeck/nextjs-firebase-username-password/HEAD/src/app/favicon.ico
--------------------------------------------------------------------------------
/next.config.js:
--------------------------------------------------------------------------------
1 | /** @type {import('next').NextConfig} */
2 | const nextConfig = {}
3 |
4 | module.exports = nextConfig
5 |
--------------------------------------------------------------------------------
/postcss.config.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | plugins: {
3 | tailwindcss: {},
4 | autoprefixer: {},
5 | },
6 | }
7 |
--------------------------------------------------------------------------------
/src/app/SessionProvider.tsx:
--------------------------------------------------------------------------------
1 | 'use client';
2 | import { SessionProvider as Provider } from 'next-auth/react';
3 |
4 | type Props = {
5 | children: React.ReactNode;
6 | }
7 |
8 | export default function SessionProvider({children}: Props) {
9 | return (
10 |
79 | Not a member?{' '} 80 | 83 |
84 |