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

https://github.com/toxe/react-rest-jwt

A React REST API example using JWT Authentication
https://github.com/toxe/react-rest-jwt

api javascript jwt react rest

Last synced: about 1 month ago
JSON representation

A React REST API example using JWT Authentication

Awesome Lists containing this project

README

          

# A React REST API example using JWT Authentication

## Dependencies

- Axios
- jsonwebtoken
- date-fns

## Running REST API Server (for development)

Add proxy settings to `package.json`:

```
{
"proxy": "http://localhost:5000",
[..]
}
```

Run server (https://github.com/Toxe/python-flask-rest-jwt):

```
flask run
```

## Running the application

```
npm start
```

### Building and running a production version

```
npm run build
serve -s build
```

## Tests

```
npm test
```