Google GSI Login - Next.js

Getting Started

Rename the .env.example to .env.local and add your google client id.

Running the app - dev mode

npm install

npm run dev

Running the app - production

npm install

npm run build

npm start

Deployment

vercel

public and protected api

Implemented middleware for protected api's