Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rainyear/react-jwt-example

Using JSON Web Token in React App.
https://github.com/rainyear/react-jwt-example

Last synced: about 2 months ago
JSON representation

Using JSON Web Token in React App.

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
```