Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 1.54 KB

README.md

File metadata and controls

20 lines (15 loc) · 1.54 KB

TODO_Flask-Graphql_JWT_Stripe

This is a Python Flask app ( TODO APP ) that uses JWT ( JSON Web Tokens ) for user-authentication & for securing all GraphQL Endpoints, Uses the GraphQL query language to handle all API calls & connect with MySQL Database, and Stripe (test mode) for payment integration.

Assignment Details

Running the project

  • Install the requirement.txt
  • Install GraphQl via npm
  • To run and serve the project on LocalHost use this command in the terminal of IDE - py src\main.py.

Modifications to this project

  • Due to poor and limited documentation Keycloak intergration was aborted.
  • Docker was crashing multiple times and back-end codes for assigning role switch (*required as it is needed to integrate stripe payment which authorized the access of certain features as a premium member) was not found in documentation.
  • Replacement of Keycloak was done with JWT & Jsonify, This was because I found that Keycloak also uses JWT to verify users.
  • My dearly apologies for not using Keycloak afor Authentication , due to the above mentioned reasons.