Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

ttpss930141011/nextjs-13-JWT-authentication

Repository files navigation


πŸ“ Overview

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.


πŸš€ Getting Started

πŸ–₯ Installation

  1. Clone the nextjs-13-JWT-authentication repository:
git clone https://github.com/ttpss930141011/nextjs-13-JWT-authentication
  1. Change to the project directory:
cd nextjs-13-JWT-authentication
  1. Install the dependencies:
npm install

πŸ€– Using nextjs-13-JWT-authentication

Development

npm run dev

Production

npm run prod

Deployment

  • Deploy project on Vercel by clicking the following buttom.
    Powered by Vercel

  • Create a Vercel Postgre database in here.

  • Vercel Postgre connects to Vercel project. It will add env variables automatically.

Vercel Postgre env

- Done!

πŸ“„ License

This project is licensed under the MIT License. See the LICENSE file for additional info.

About

Implementing a basic JWS authentication demo with a symmetric secret based on Next.js 13, Prisma, Vercel Postgres.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /