Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rainyear/react-jwt-example
Using JSON Web Token in React App.
https://github.com/rainyear/react-jwt-example
Last synced: about 1 month ago
JSON representation
Using JSON Web Token in React App.
- Host: GitHub
- URL: https://github.com/rainyear/react-jwt-example
- Owner: rainyear
- Created: 2015-06-09T12:42:01.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-06-10T13:36:45.000Z (over 9 years ago)
- Last Synced: 2024-11-08T11:46:19.668Z (about 2 months ago)
- Language: JavaScript
- Size: 1.32 MB
- Stars: 73
- Watchers: 12
- Forks: 22
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
React-jwt example
---[JWT 在前后端分离中的应用与实践](http://blog.rainy.im/2015/06/10/react-jwt-pretty-good-practice/)
### Usage
```
git clone https://github.com/rainyear/react-jwt.git
```#### client
```js
npm install
gulp
```#### server
```go
go get github.com/dgrijalva/jwt-go
go get github.com/gin-gonic/gin
go run server.go
```