Skip to content

JC4F/nextjs-base

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build a base NextJs apps with Shadcn, React Query, Zustand, Next-intl, Nextauth, Docker

Features:

  • 🎊 Deploy: Vercel, Vps
  • 🛠️ Setup with ESLint, Prettier, Husky, Commitlint, and Cspell
  • 🧰 CI/CD pipelines with Github action to automate deployment on Vercel and VPS (Docker)
  • ⌨️ State Management:
    • Client: Zustand
    • Server: Tanstack Query
  • 🎨 SSO with Google, Github
  • 🎎 Darkmode
  • ↩️ I18

Install packages

pnpm i

Setup .env file

NEXTAUTH_URL=xxxxxx
NEXTAUTH_SECRET=xxxxxx

GITHUB_CLIENT_ID=xxxxxx
GITHUB_CLIENT_SECRET=xxxxxx

GOOGLE_CLIENT_ID=xxxxxx
GOOGLE_CLIENT_SECRET=xxxxxx

JWT_SECRET=xxxxxx

Start the app

pnpm dev
or
pnpm start

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •