kyma-project / kyma-companion

A tool that brings AI to Kyma
Apache License 2.0
2 stars 6 forks source link

Deploy FastAPI Application #47

Closed Teneroy closed 4 days ago

Teneroy commented 2 weeks ago

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

  1. Define the Project Structure: Organize the project's directory and file structure for clarity and scalability.
  2. Introduce Package Management System: Set up Poetry for dependency management and project configuration.
  3. Setup a Basic API Endpoint: Implement a basic "Hello World" endpoint to verify initial setup.
  4. Setup Basic Logging Infrastructure: Configure logging to track and debug the application's behavior.
  5. Introduce and Implement Testing Frameworks: Integrate testing frameworks
  6. Introduce Linters: Set up code linters to maintain code quality and consistency.
  7. Setup Pydantic: Implement Pydantic for data validation and settings management.
  8. Build Configuration: Create and configure a build file (e.g., Dockerfile) to containerize the Kyma Companion application.

Acceptance Criteria