GithubHelp home page GithubHelp logo

hangton-code / auth-js-toolkit Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 460 KB

This is a Authjs toolkit base on Next Auth v5. With most of the important components to form a comprehensive authenication system for web development.

TypeScript 98.29% CSS 1.55% JavaScript 0.16%
authenication authjs authorization minio next-auth nextjs nextjs14 prisma resend shadcn-ui t3-stack tailwindcss trpc typescript

auth-js-toolkit's Introduction

Introduction

This is a Authjs toolkit base on Next Auth v5. With most of the important components to form a comprehensive authenication system for web development.

Techniques

  • T3 Stack (Next.js 14, TRPC, and Tailwind CSS)
  • Auth.js (Next Auth v5)
  • Shadcn UI
  • Resend
  • Prisma with MYSQL as default
  • MinIO
  • and more

Environment Variables

.env

DATABASE_URL=
AUTH_SECRET=
GITHUB_CLIENT_ID=
GITHUB_CLIENT_SECRET=
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
RESEND_API_KEY=
RESEND_ONBOARDING_EMAIL=
MINIO_ACCESS_KEY=
MINIO_SECRET_KEY=
MINIO_AUTH_BUCKET=
MINIO_END_POINT=
MINIO_APP_URL=
MINIO_PORT=
NEXT_PUBLIC_APP_URL=

Gallery

Remarks

  1. Recommend to stay @tanstack/react-query at v4 so as to peer with @trpc/client
  2. Recommend to stay next-auth at @5.0.0-beta.4 and @auth/prisma-adapter at @1.0.14 respectively so as to make sure the code runs with no error
  3. Remember to set a public download access policy for minio avatars folder: mc anonymous set download <alias>/<bucket>/avatars

auth-js-toolkit's People

Contributors

hangton-code avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.