ReactJS: store login (JWT) info in cookie and reroute to login if nog logged in
€8-30 EUR
Lukket
Slået op over 6 år siden
€8-30 EUR
Betales ved levering
We have an existing nodeJs project with an API.
API has a method to log in a user. (http://localhost:3001/api/v1/users/authenticate)
We are making a reactJs admin page. This is a page using a template given in [login to view URL]
Work to be done:
-----------------------------
- Post login fields to the API and receive the userId and login Token
- Store the login Token and UserId using react-cookie, this so every page can see if the user is logged in. (just check if cookie token value <> null or something)
- alter the route to the dashboard (app/dashboard) so when not logged in, reroute to the login page.
The API - docs of the server are added, as well as the react project
Hi,
I am a full stack developer having extensive experience in ReactJs as well as node.js. I have gone through your requirements and can quickly complete it.
Relevant Skills and Experience
ReactJs
Proposed Milestones
€73 EUR - Final deliverable
I have a lot of experience in building react and nodejs apps. I can share you websites which I have created. I have implemented similar cookie mechanism to check login status.
Relevant Skills and Experience
I will be able to deliver the objective very quickly as I have done similar work before it will be robust solution and straightforward for me.
Proposed Milestones
€12 EUR - Deliver full solution for login