Skip to content

udislau/task-capital-com

Repository files navigation

Simple Web API

A simple REST API service that allows storing and retrieving string values, built with FastAPI and Python.

Features

  • 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

Running in Docker

To run the application using Docker:

docker compose up

The server will start at http://0.0.0.0:80

Local Development

  1. Install uv: https://docs.astral.sh/uv/getting-started/installation/

  2. Clone the repository:

git clone <repository-url>
cd task-capital-com
  1. Run:
uv run fastapi dev

The server will start at http://0.0.0.0:8000

Running Tests

uv run pytest

Linting

uv run ruff check .

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published