Skip to content

Repository files navigation

pyback

This FastAPI server can greet anyone and store greetings with unique id in-memory for later use.

Local development

Clone the repo, then install poetry and docker.

Configure the project:

poetry install
poetry run pre-commit install

Happy hacking!

Commands

Start app in dev mode:

docker-compose up --build

API runs on http://api.localhost

Run tests:

# Unit tests
poetry run test_unit

# Integration tests
docker-compose up -d
poetry run test_integration

Manually lint & format:

poetry run pre-commit run --all-files

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages