add react vite app with oidc support and configured api calls to api

This commit is contained in:
Viktor Barzin 2025-06-14 15:36:38 +00:00
parent ff2f141b75
commit aca76111f0
No known key found for this signature in database
GPG key ID: 4056458DBDBF8863
31 changed files with 7422 additions and 1 deletions

View file

@ -20,7 +20,7 @@ app.add_middleware(
)
@app.get("/listing")
@app.get("/api/listing")
async def get_listing(user: Annotated[User, Depends(get_current_user)]):
repository = ListingRepository(engine)
listings = await repository.get_listings(limit=5)