This is a simple API that allows you to do a set of operations on files & directories
- Docker Desktop
- Justfile (optional)
Whole application is containerized,
it means that you don't need to install poetry or any other tool to run or work with the repository.
All you need is Docker
& just
(optionally).
Read through Justfile
/Justscripts
to understand the recipies.
There are volumes mounted into the container, so that all the changes are reflected on both sides (host & container).
If you haven't installed just
, you need to run source Justscripts
and then you can use the recipies without just
- Run
just build
/build
- Run
just up
/up
- Visit http://localhost:8000/docs. You can play with the API through OpenAPI documentation.
The initial playground is present in
_playground
directory on the host. When building the image - the playground is copied to/opt/playground
. The container doesn't have the playground mounted to host machine, so all the changes done through the API only occur in the container.
- Write tests for the routers using an httpx client
- Write tests for controller