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".