Content-Length: 265055 | pFad | http://github.com/rajeshberwal/nextjs-jwt-auth-middleware

76 GitHub - rajeshberwal/nextjs-jwt-auth-middleware: A boilerplate that containes code for setting auth on Next.js app with the help of middleware.
Skip to content

rajeshberwal/nextjs-jwt-auth-middleware

Repository files navigation

This is a boilerplate that containes code for setting auth on Next.js app with the help of middleware.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying pages/index.tsx. The page auto-updates as you edit the file.

Login API endpoint can be edited in pages/api/auth/login.ts.

The pages/api directory is mapped to /api/*. Files in this directory are treated as API routes instead of React pages.

About

A boilerplate that containes code for setting auth on Next.js app with the help of middleware.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/rajeshberwal/nextjs-jwt-auth-middleware

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy