- run
npx create-next-app@latest nextjs-blog --use-npm --example "https://github.com/jahzlariosa/pahina"
- run
npm run setup-env
to setup the env variables npm run dev
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
NEXTAUTH_SECRET=
NEXT_PUBLIC_GOOGLE_ANALYTICS=
BACKEND_API_DOMAIN=
See and edit middleware.tsx
to add your protected pages.
- Google SSO
- Passwordless login