This project helps me quickly familiarize and review middleware in Next.js 13, JWS and others JWT-related RFCs in jose, basic concepts in prisma, and usage of Vercel Postgre.
- Clone the nextjs-13-JWT-authentication repository:
git clone https://github.com/ttpss930141011/nextjs-13-JWT-authentication
- Change to the project directory:
cd nextjs-13-JWT-authentication
- Install the dependencies:
npm install
npm run dev
npm run prod
-
Create a Vercel Postgre database in here.
-
Vercel Postgre connects to Vercel project. It will add env variables automatically.
This project is licensed under the MIT License. See the LICENSE file for additional info.