add react vite app with oidc support and configured api calls to api
This commit is contained in:
parent
ff2f141b75
commit
aca76111f0
31 changed files with 7422 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue