MElmardi / next-auth-custom-backend-example

This is and example site to demostrate how to use NextAuth.js with a separated backend from next js using the Custom Adapter Aproach.

Home Page:https://next-auth-custom-backend.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Next Auth Custom Backend Example

This is and example site to demostrate how to use NextAuth.js with a separated backend from next js using the Custom Adapter Aproach.

Try Demo

Installation

1. Get the code into your local machine and install all dependencies

git clone https://github.com/NanddoSalas/next-auth-custom-backend-example.git
cd next-auth-custom-backend-example
yarn install

2. Setup Enviroment

Copy the .env.local.example file into .env.local and populate it

cp .env.local.example .env.local

Copy the .env.local to the web and server packages

cp .env.local packages/web/.env.local
cp .env.local packages/server/.env.local

3. Start the Project

yarn dev

License

MIT

About

This is and example site to demostrate how to use NextAuth.js with a separated backend from next js using the Custom Adapter Aproach.

https://next-auth-custom-backend.vercel.app


Languages

Language:TypeScript 99.6%Language:Dockerfile 0.2%Language:JavaScript 0.2%