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.
- This assignment was assigned by Dendrite.ai as a short assignment for internship application short-listing.
- The assignment details provided by Dendrite.ai is attached as a .docx file : Python_Assignment - internship.docx
- 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
.
- 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.