A simple REST API service that allows storing and retrieving string values, built with FastAPI and Python.
- Store a string value via POST request
- Retrieve the stored string via GET request
- Interactive Swagger UI documentation
- Docker support
- Comprehensive test suite
- CI/CD pipeline with GitHub Actions
To run the application using Docker:
docker compose up
The server will start at http://0.0.0.0:80
-
Install uv: https://docs.astral.sh/uv/getting-started/installation/
-
Clone the repository:
git clone <repository-url>
cd task-capital-com
- Run:
uv run fastapi dev
The server will start at http://0.0.0.0:8000
uv run pytest
uv run ruff check .