Closed kimoantiqe closed 5 years ago
@cowmanjoe yeah it should be password not pass, I have updated the comment to reflect that π
@frostyshadows @cowmanjoe Thanks for the feedback guys π π !!!
@cowmanjoe Wops , sherry requested to remove the /api from the routes and I totally forgot to update the PRβs body
Work In Progress PR
Feel free to to help / give suggestions
π Completed
π TODO
Add SWAGGER( New issue )Add Auth system to docker-compose.ymlFinalize user schema (add createdAt, updatedAt and so on .. )( New issue )Finallize all error codes(currently using 422 for everything)Add a local error logging system( New issue )Finalize meta data in package.jsonAdd Tests( New issue )βοΈ To Test
Install Dependencies and launch auth server
In case bcrypt fails to install try
or downgrade it to version @2.0.1
Make api calls to server
You can use curl or your favourite API Development enviroment ( I prefer postman )
User Login :
User Registration :
Update User :
Get User Profile :
Delete User Profile :
π Some Useful readings
More Info on JasonWebTokens More Info on await-to style I am using More Info on Hashing Algorithm