Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sgmdlt committed Dec 23, 2024
1 parent 8c1bd48 commit ebc986e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 937 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ dev:
run:
uv run uvicorn --workers 4 --host 0.0.0.0 --port $(PORT) app.server:app

compose: build start

build:
docker build . --tag=data-charts-api

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ make compose

```bash
# return all visits from begin to end dates
/visits?begin=BEGIN_DATE&end=END_DATE
/visits?begin=2023-03-01&end=2023-04-01

# return all registrations from begin to end dates
/registrations?begin=BEGIN_DATE&end=END_DATE
/registrations?begin=2023-03-01&end=2023-04-01
```
7 changes: 1 addition & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,9 @@ dependencies = [
"fastapi-cache2>=0.2.2",
"fastapi[standard]>=0.115.4",
"flask>=3.0.3",
"psycopg[binary]>=3.2.3",
"python-dotenv>=1.0.1",
"uvicorn>=0.32.0",
]

[tool.uv]
dev-dependencies = [
"pytest>=8.3.3",
"requests>=2.32.3",
"ruff>=0.7.2",
]
dev-dependencies = ["pytest>=8.3.3", "requests>=2.32.3", "ruff>=0.7.2"]
Loading

0 comments on commit ebc986e

Please sign in to comment.