An online community of conversation, built with the MERN stack, that will allow those with personal, financial or career-related problems to talk them through with others, in either a private or a public channel.
Able to log in via Karla's seeded user data, if enter correct password, success message shows, if incorrect, no success message show and console.log an error
Tested on graphQL and token is created when logging in as well
Changes made:
Created auth.js in client utils
Created mutations.js in client utils
Required in jwt-decode on client side
Required in bcrypt, jsonwebtoken on server side
Created auth.js in server utils
THIS WILL LIKELY CREATE MERGE CONFLICTS - will resolve once the other ones are merged
Added auth logic to both back end and front end.
Changes made:
auth.js
in client utilsmutations.js
in client utilsjwt-decode
on client sidebcrypt
,jsonwebtoken
on server sideauth.js
in server utilsTHIS WILL LIKELY CREATE MERGE CONFLICTS - will resolve once the other ones are merged