Skip to content

Integrate Flask Python API into Reminders Solution #126

@KaueReinbold

Description

@KaueReinbold

Description:
To diversify the Reminders application's technology stack, integrate a Flask Python API alongside the existing .NET API. The Flask API will operate alongside the .NET API, utilizing PostgreSQL from the current infrastructure for data retrieval.

Steps to Implement:

  • Create a new Flask project for the Python API in a designated folder (e.g., src/server/api/python/api).
  • Configure the Flask project to connect to the existing PostgreSQL database.
  • Develop API endpoints in the Flask project to handle relevant functionalities, maintaining consistency with the existing .NET API.
  • Set up appropriate routing and middleware in Flask to seamlessly integrate with the overall solution.
  • Update documentation and README to include information about the newly added Python API.

Integration Considerations:

  • Ensure that both APIs share common data models and structures for consistent interactions using Nginx (infrastructure/nginx.conf).
  • Verify that the Python API effectively queries data from PostgreSQL, aligning with the existing database schema.

Expected Benefits:

  • Diversify the technology stack with a lightweight and flexible Python framework.
  • Showcase the ability to use different languages within the project.
  • Provide additional API endpoints for reminder management.

Metadata

Metadata

Assignees

Labels

apiThis label indicates that the reported issue is specific to the API project context.enhancementpython

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions