Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion backend/src/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
from jwt_auth.auth_router import router as auth_router
from business_router import router as business_router
from fastapi.middleware.cors import CORSMiddleware
oauth2_scheme = OAuth2PasswordBearer(tokenUrl="/auth/login")

app = FastAPI()

app.add_middleware(
CORSMiddleware,
Expand Down
3 changes: 2 additions & 1 deletion backend/src/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
jwt-auth @ git+https://github.com/agabrielcorujo/jwt-auth.git
jwt-auth @ git+https://github.com/agabrielcorujo/jwt-auth.git
boto3
9 changes: 8 additions & 1 deletion infra/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,11 @@ services:
- type: bind
source: ../backend/src
target: /app

depends_on:
- redis

redis:
image: redis:7
ports:
- "6379:6379"