├── jsconfig.json ├── next.config.js ├── postcss.config.js ├── src ├── app │ ├── favicon.ico │ ├── unauth-page │ │ └── page.js │ ├── products │ │ └── page.js │ ├── visitors │ │ └── page.js │ ├── globals.css │ ├── api │ │ ├── user │ │ │ └── route.js │ │ ├── product │ │ │ ├── all-products │ │ │ │ └── route.js │ │ │ └── add-product │ │ │ │ └── route.js │ │ ├── visitors │ │ │ ├── all-visitors │ │ │ │ └── route.js │ │ │ └── add-visitor │ │ │ │ └── route.js │ │ └── auth │ │ │ └── [...nextauth] │ │ │ └── route.js │ ├── page.js │ └── layout.js ├── auth-provider │ └── index.js ├── components │ ├── FormControls │ │ ├── button.js │ │ ├── input.js │ │ └── select.js │ ├── card │ │ └── index.js │ ├── visitors │ │ ├── visitors-list.js │ │ └── visitors-layout.js │ ├── products │ │ ├── product-listing.js │ │ └── product-layout.js │ ├── header │ │ └── index.js │ ├── Table │ │ └── index.js │ ├── DeviceAnalytics │ │ └── index.js │ ├── VisitorsAnalytics │ │ └── index.js │ ├── YearlyAnalyticsChart │ │ └── index.js │ ├── sidebar │ │ └── index.js │ ├── dashboard │ │ └── index.js │ └── Modal │ │ └── index.js ├── models │ ├── product │ │ └── index.js │ ├── visitors │ │ └── index.js │ └── user │ │ └── index.js ├── database │ └── index.js ├── context │ └── index.js └── utils │ └── config.js ├── .gitignore ├── public ├── vercel.svg └── next.svg ├── package.json ├── README.md └── tailwind.config.js /jsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "paths": { 4 | "@/*": ["./src/*"] 5 | } 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /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/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sangammukherjee/Next-js-google-auth-admin-dashboard/HEAD/src/app/favicon.ico -------------------------------------------------------------------------------- /src/app/unauth-page/page.js: -------------------------------------------------------------------------------- 1 | export default function UnauthPage() { 2 | return
5 | {label} 6 |
7 | 14 |5 | {label} 6 |
7 | 23 |