Setup and deploy the Kyma Companion core application using FastAPI, ensuring a structured project setup and foundational components for a robust and scalable application.
Subtasks
Define the Project Structure: Organize the project's directory and file structure for clarity and scalability.
Introduce Package Management System: Set up Poetry for dependency management and project configuration.
Setup a Basic API Endpoint: Implement a basic "Hello World" endpoint to verify initial setup.
Setup Basic Logging Infrastructure: Configure logging to track and debug the application's behavior.
Introduce and Implement Testing Frameworks: Integrate testing frameworks
Introduce Linters: Set up code linters to maintain code quality and consistency.
Setup Pydantic: Implement Pydantic for data validation and settings management.
Build Configuration: Create and configure a build file (e.g., Dockerfile) to containerize the Kyma Companion application.
Acceptance Criteria
[x] Project structure is clearly defined and organized.
[x] Poetry is set up and managing project dependencies.
[x] A basic "Hello World" API endpoint is implemented and functional.
[x] Logging infrastructure is in place and operational.
[x] Testing frameworks are integrated, and initial tests are written and passing.
[x] Linters are configured and ensuring code quality.
[x] Pydantic is set up and used for data validation
[x] One can build an image out of this application
Description
Setup and deploy the Kyma Companion core application using FastAPI, ensuring a structured project setup and foundational components for a robust and scalable application.
Subtasks
Acceptance Criteria