Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/farbodsalimi/react-redux-jwt-authentication-boilerplate
React-Redux JWT Authentication Boilerplate
https://github.com/farbodsalimi/react-redux-jwt-authentication-boilerplate
express-js jwt jwt-authentication mongodb passport react redux redux-thunk
Last synced: 2 days ago
JSON representation
React-Redux JWT Authentication Boilerplate
- Host: GitHub
- URL: https://github.com/farbodsalimi/react-redux-jwt-authentication-boilerplate
- Owner: farbodsalimi
- License: mit
- Archived: true
- Created: 2017-08-22T06:20:09.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-02-05T08:15:53.000Z (almost 2 years ago)
- Last Synced: 2024-09-27T18:40:54.647Z (4 months ago)
- Topics: express-js, jwt, jwt-authentication, mongodb, passport, react, redux, redux-thunk
- Language: JavaScript
- Size: 40 KB
- Stars: 46
- Watchers: 5
- Forks: 14
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### React-Redux JWT Authentication Boilerplate
# What is JSON Web Token?
![jwt](https://cdn.auth0.com/content/jwt/jwt-diagram.png)JSON Web Token (JWT) is an open standard ([RFC 7519](https://tools.ietf.org/html/rfc7519)) that defines a compact and self-contained way for securely transmitting information between parties as a JSON object. This information can be verified and trusted because it is digitally signed. JWTs can be signed using a secret (with the HMAC algorithm) or a public/private key pair using RSA.
Source: [Introduction to JSON Web Tokens](https://jwt.io/introduction/)
# Client
### Installation
```
yarn install
```### Development
```
yarn start
```### Production
First build the project, then run the server.
```
yarn build
```# Server
### Run
with node
```
node server/
```with nodemon
```
nodemon server/
```with PM2
```
pm2 start server/
pm2 monit
```