Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 1.69 KB

README.md

File metadata and controls

37 lines (26 loc) · 1.69 KB

contributions welcome Build Status Maintenance Ask Me Anything ! GitHub version

ForTheBadge built-with-swag forthebadge forthebadge

Make branch as name/backend.
Write your OWN JUnits if you want to write

Backend Task : 

1. Authentication / Session Management: JWT Token generation for user login and defining the ROLE [HS512]
   Storing the password in BCryptPasswordEncoder.
2. Manage session through eCache-
- eCache will store key pair of tokenId ? : accessToken . This has to be checked for each API call (cache.get(tokenId)->?rule)
- then we have to check the header authorization token 
httpRequest.header("token").equals(eCache.get("token") == true :"200 OK". else "404 error".
- Checking the ROLE from the Token 

TO LOAD FRONTEND :

1. Install Node js , react linreary then go to project dir and "npm install " then "npm start".