nextjs-jwt-example

next.js authorization example including private route protection

Github stars Tracking Chart

Next.js authorization example including private route protection

https://jasonraimondi.com/posts/create-a-secured-rest-api-for-a-next-js-application-using-jwt-and-golang/

git clone git@github.com:jasonraimondi/nextjs-jwt-example.git
cd nextjs-jwt-example
go run ./api/main.go

   ____    __
  / __/___/ /  ___
 / _// __/ _ \/ _ \
/___/\__/_//_/\___/ v3.3.10-dev
High performance, minimalist Go web framework
https://echo.labstack.com
____________________________________O/_______
                                    O\
⇨ http server started on [::]:1323
cd web
npm run dev

Main metrics

Overview
Name With Ownerjasonraimondi/nextjs-jwt-example
Primary LanguageTypeScript
Program languageGo (Language Count: 2)
Platform
License:MIT License
所有者活动
Created At2019-08-03 05:02:36
Pushed At2023-01-17 04:14:12
Last Commit At2023-01-16 23:14:12
Release Count0
用户参与
Stargazers Count111
Watchers Count2
Fork Count26
Commits Count23
Has Issues Enabled
Issues Count2
Issue Open Count1
Pull Requests Count2
Pull Requests Open Count1
Pull Requests Close Count5
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private