Skip to content

Commit 73b6c5a

Browse files
authored
Update README.md
1 parent 12755c4 commit 73b6c5a

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,13 @@ The registration layer has a simple login/logout feature made using HOC (High Or
1010
> - The **client-side** is a React + Redux app based.
1111
> - The **server-side** is built in NodeJS (Express) and works like an API server.
1212
> - This application uses Sequelize ORM to manage relational database and maintain it's data.
13-
> - The [Passport](https://www.npmjs.com/package/passport) is basically a Express-compatible authentication middleware for Node.js.
13+
> - The [Passport](https://www.npmjs.com/package/passport) is basically an Express-compatible authentication middleware for Node.js.
1414
15-
I chose to use only [prop-types](https://www.npmjs.com/package/prop-types) to cover all that is required for data typing and obligation in React Components, when it's necessary.
15+
The authentication process uses some features like [BCrypt](https://www.npmjs.com/package/bcrypt) and [JSONWebToken](https://www.npmjs.com/package/jsonwebtoken) to pass data through API encrypted and based in token, saved in storage to control in client-side state syncronized with Redux store and in server-side saved in NodeJS session.
16+
17+
The configuration files are located in config folder inside server scope. The token configurations are at `/server/config/secret.js` and Passport strategies at `/server/config/passport.js` individually.
18+
19+
I choose to use only [prop-types](https://www.npmjs.com/package/prop-types) to cover all data typing and obligation requirements in React Components, when it's necessary.
1620

1721
#### Server-Side
1822
The NodeJS Express application, located in the ```/server/``` folder.
@@ -22,6 +26,8 @@ Inside it's scope use ```npm install``` to install all dependencies and ```npm s
2226
> - Be sure that the database is working before starting the server.
2327
> - All the database connections you need (for each environment) are in ```/server/config/database.json```.
2428
29+
The Passport implementation uses
30+
2531
#### Client-Side
2632
In the ```/client/``` folder we have the client-side React application.
2733

0 commit comments

Comments
 (0)