Skip to content

A template repository to quick start working with Next.Js and Setting up Google Authentication

Notifications You must be signed in to change notification settings

Navin-Jethwani-76/next-google-auth

Repository files navigation

Steps to bootstrap next-google-auth

Clone the Repo

git clone https://github.com/Navin-Jethwani-76/next-google-auth

Installing Dependencies

cd next-google-auth && npm install

NOTE: Follow these steps to setup your Web Application in Google Cloud Console.

Add env variables in .env.local file

GOOGLE_CLIENT_ID=your_client_id
JWT_SECRET=your_jwt_secret
AUTH_TOKEN_NAME=authToken #any other name you prefer

Starting Dev Server

npm run dev

Open http://localhost:3000 with your browser to see the result.

If you face any issues with this guide, Open a New Issue on Github

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy this app is to use the Vercel Platform.

Vercel

Check out our Next.js deployment documentation for more details.

About

A template repository to quick start working with Next.Js and Setting up Google Authentication

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages