├── .eslintrc.json ├── .gitignore ├── README.md ├── app ├── Providers.js ├── api │ ├── auth │ │ └── [...nextauth] │ │ │ └── route.js │ └── user │ │ └── route.js ├── favicon.ico ├── globals.css ├── layout.js └── page.jsx ├── components ├── Navbar.jsx ├── SignInBtn.jsx └── UserInfo.jsx ├── jsconfig.json ├── lib └── mongodb.js ├── models └── user.js ├── next.config.js ├── package.json ├── postcss.config.js ├── public ├── google-logo.png ├── next.svg └── vercel.svg └── tailwind.config.js /.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "next/core-web-vitals" 3 | } 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Godsont/Google-Authentication/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Godsont/Google-Authentication/HEAD/README.md -------------------------------------------------------------------------------- /app/Providers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Godsont/Google-Authentication/HEAD/app/Providers.js -------------------------------------------------------------------------------- /app/api/auth/[...nextauth]/route.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Godsont/Google-Authentication/HEAD/app/api/auth/[...nextauth]/route.js -------------------------------------------------------------------------------- /app/api/user/route.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Godsont/Google-Authentication/HEAD/app/api/user/route.js -------------------------------------------------------------------------------- /app/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Godsont/Google-Authentication/HEAD/app/favicon.ico -------------------------------------------------------------------------------- /app/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Godsont/Google-Authentication/HEAD/app/globals.css -------------------------------------------------------------------------------- /app/layout.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Godsont/Google-Authentication/HEAD/app/layout.js -------------------------------------------------------------------------------- /app/page.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Godsont/Google-Authentication/HEAD/app/page.jsx -------------------------------------------------------------------------------- /components/Navbar.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Godsont/Google-Authentication/HEAD/components/Navbar.jsx -------------------------------------------------------------------------------- /components/SignInBtn.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Godsont/Google-Authentication/HEAD/components/SignInBtn.jsx -------------------------------------------------------------------------------- /components/UserInfo.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Godsont/Google-Authentication/HEAD/components/UserInfo.jsx -------------------------------------------------------------------------------- /jsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Godsont/Google-Authentication/HEAD/jsconfig.json -------------------------------------------------------------------------------- /lib/mongodb.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Godsont/Google-Authentication/HEAD/lib/mongodb.js -------------------------------------------------------------------------------- /models/user.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Godsont/Google-Authentication/HEAD/models/user.js -------------------------------------------------------------------------------- /next.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Godsont/Google-Authentication/HEAD/next.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Godsont/Google-Authentication/HEAD/package.json -------------------------------------------------------------------------------- /postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Godsont/Google-Authentication/HEAD/postcss.config.js -------------------------------------------------------------------------------- /public/google-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Godsont/Google-Authentication/HEAD/public/google-logo.png -------------------------------------------------------------------------------- /public/next.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Godsont/Google-Authentication/HEAD/public/next.svg -------------------------------------------------------------------------------- /public/vercel.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Godsont/Google-Authentication/HEAD/public/vercel.svg -------------------------------------------------------------------------------- /tailwind.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Godsont/Google-Authentication/HEAD/tailwind.config.js --------------------------------------------------------------------------------