Setting up the configuration files and refactoring

This commit is contained in:
2026-03-03 17:07:20 +02:00
parent 7eede1f99b
commit ba02095f32
9 changed files with 36 additions and 24 deletions
+2 -2
View File
@@ -10,7 +10,7 @@ source venv/bin/activate
## Run locally
```bash
uvicorn app.main:app --reload
python -m uvicorn app.main:app --reload --host 0.0.0.0 --port 8000
```
Then check:<br>
http://127.0.0.1:8000<br>
@@ -23,5 +23,5 @@ http://127.0.0.1:8000/shorten
```bash
PYTHONPATH=./ pytest
export PYTHONPATH=$(pwd)
pytest
python -m pytest --cov=app --cov-report=term-missing
```