https://github.com/jubinjacob03/todo_flask-graphql_jwt_stripe
Python TODO App using Flask, JWT for authentication, GraphQL for securing Endpoints with MySQL & Stripe for payment.
https://github.com/jubinjacob03/todo_flask-graphql_jwt_stripe
api flask-application full-stack graphql jwt-token mysql-database python-3 python-requests stripe vanilla-css
Last synced: 3 months ago
JSON representation
Python TODO App using Flask, JWT for authentication, GraphQL for securing Endpoints with MySQL & Stripe for payment.
- Host: GitHub
- URL: https://github.com/jubinjacob03/todo_flask-graphql_jwt_stripe
- Owner: jubinjacob03
- License: mit
- Created: 2023-07-26T00:11:46.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-07-28T17:50:04.000Z (almost 2 years ago)
- Last Synced: 2025-01-12T12:41:33.381Z (4 months ago)
- Topics: api, flask-application, full-stack, graphql, jwt-token, mysql-database, python-3, python-requests, stripe, vanilla-css
- Language: Python
- Homepage:
- Size: 1.2 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
- This assignment was assigned by [Dendrite.ai](https://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](https://github.com/jubinjacob03/TODO_Flask-Graphql_JWT_Stripe/files/12196722/Python_Assignment.-.internship.docx)# 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 documentationKeycloak 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 withJWT & 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.