Skip to content

theblockchaineth/NextJS-NextAuth-SIWE-Boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

NextJS 14 (Typescript) w/ SIWE enabled NextAuth authentication and sessions

wagmi and web 3 modal underneath

tailwindcss and daisyui for ui/ux

protected routes via middleware.ts

also protected using the server-side props patterns (see app/protected/page.tsx)

Environment Variables

  1. rename the .env.example file to .env
  2. add your walletconnect project id to NEXT_PUBLIC_WCID
  3. If you're using mainnet, add 1 to NEXT_PUBLIC_NETWORK_ID
  4. regenerate a strong Next Auth key (i.e. openssl rand -base64 32) for NEXTAUTH_SECRET

Getting Started

Complete the .env steps above...

>> npm install
>> npm run dev

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published