Skip to content

Integrate the frontend http server into pre-release#18

Merged
MarcoFerreiraPerson merged 4 commits intopre-releasefrom
feature/http-web-server
Nov 20, 2025
Merged

Integrate the frontend http server into pre-release#18
MarcoFerreiraPerson merged 4 commits intopre-releasefrom
feature/http-web-server

Conversation

@MarcoFerreiraPerson
Copy link
Copy Markdown
Collaborator

Features Implemented

  • HTTP server (FastAPI)
  • Unit tests for the HTTP server (pytest)
  • Docker container for building the SQL frontend
  • Updated corresponding documentation

What

Implemented the HTTP server for the Frontend part of the SQL query engine.


Why

This server provides the required entry point for interacting with the SQL query engine.
It enables future components to send SQL queries and receive results through a standardized interface.


How

  • Built a FastAPI server exposing two endpoints:
    • GET /health – returns the status of the server
    • POST /query – accepts a file or file URI along with a SQL query
  • Added pytest-based unit tests to verify:
    • Server availability
    • File upload handling
  • SQL frontend logic is not implemented yet (placeholder behavior only)
  • Added a Docker container definition to build and run the frontend
  • Updated accompanying documentation accordingly

Testing

Implemented a suite of pytest tests covering:

  • Health check endpoint
  • Query endpoint with file upload

All CI tests related to these changes pass successfully.


Closes #17

@MarcoFerreiraPerson MarcoFerreiraPerson self-assigned this Nov 20, 2025
@MarcoFerreiraPerson MarcoFerreiraPerson merged commit 4b7365c into pre-release Nov 20, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants