Leeds2Capstone22-23 / Backend

Backend and API powering SNPT -- Web application for document tagging and semantic search for Reddit
0 stars 0 forks source link

User system #13

Closed computerdane closed 2 years ago

computerdane commented 2 years ago

Quick Summary: Added an Express API that acts as an auth webhook for Hasura. GraphQL queries will need to be authorized using an HTTP Basic Authorization header. User registration can be done using a GrpahQL mutation; this is made possible by using a Hasura Action that interfaces with the Express API.

All relevant documentation for this PR is contained in the User System section of the README.

For frontend devs, please make sure to reference the Roles and Permissions, Authentication Scheme > Important Note, and Registration > Hasura Action subsections under the User System section of the README.