Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PacktPublishing/Full-Stack-FastAPI-React-and-MongoDB-2nd-Edition
/ functions
Functions
142 in github.com/PacktPublishing/Full-Stack-FastAPI-React-and-MongoDB-2nd-Edition
⨍
Functions
142
◇
Types & classes
46
↳
Endpoints
44
Function
list_cars
( request: Request, # user=Depends(auth_handler.auth_wrapper), page: int = 1, limit: int = CAR
Chapter07/backend/routers/cars.py:157
Function
list_users
(request: Request, user_data=Depends(auth_handler.auth_wrapper))
Chapter06/backend/routers/users.py:85
Function
login
(request: Request, loginUser: LoginModel = Body(...))
Chapter07/backend/routers/users.py:43
Function
login
(request: Request, loginUser: UserIn = Body(...))
Chapter06/backend/routers/users.py:49
Function
login
(status, formData)
Chapter10/src/actions.js:16
Function
login
( background_tasks: BackgroundTasks, loginUser: LoginUser = Body(...) )
Chapter09/routers/user.py:34
Function
logout
()
Chapter06/frontend/src/AuthContext.jsx:84
Function
logout
()
Chapter10/src/actions.js:52
Function
logout
()
Chapter08/src/contexts/AuthContext.jsx:87
Function
me
( request: Request, response: Response, user_data=Depends(auth_handler.auth_wrapper) )
Chapter07/backend/routers/users.py:66
Function
me
(request: Request, user_data=Depends(auth_handler.auth_wrapper))
Chapter06/backend/routers/users.py:72
Function
me
(user_data=Depends(auth_handler.auth_wrapper))
Chapter09/routers/user.py:53
Function
me_user
()
Chapter04/chapter4_03.py:12
Function
new_car
(data: Dict = Body(...))
Chapter04/chapter4_06.py:8
Function
new_car
(data: InsertCar)
Chapter04/chapter4_07.py:15
Function
new_car_model
(car: InsertCar, user: UserModel, code: int = Body(None))
Chapter04/chapter4_08.py:20
Function
new_car_model
(car: InsertCar)
Chapter04/chapter4_14.py:14
Function
onSubmit
(data)
Chapter08/src/components/CarForm.jsx:75
Function
onSubmitForm
(data)
Chapter08/src/components/LoginForm.jsx:24
Function
page
()
Chapter10/src/app/private/page.js:5
Function
page
()
Chapter10/src/app/login/page.js:3
Function
pagination
(q: str | None = None, skip: int = 0, limit: int = 100)
Chapter04/chapter4_15.py:7
Function
post_root
()
Chapter04/chapter4_01.py:12
Function
raw_fa_response
()
Chapter04/chapter4_13.py:7
Function
raw_request
(request: Request)
Chapter04/chapter4_09.py:7
Function
read_headers
(user_agent: Annotated[str | None, Header()] = None)
Chapter04/chapter4_10.py:9
Function
read_items
(commons: Annotated[dict, Depends(pagination)])
Chapter04/chapter4_15.py:12
Function
read_root
()
Chapter09/app.py:38
Function
read_users
(commons: Annotated[dict, Depends(pagination)])
Chapter04/chapter4_15.py:17
Function
register
(request: Request, newUser: LoginModel = Body(...))
Chapter07/backend/routers/users.py:18
Function
register
(request: Request, newUser: UserIn = Body(...))
Chapter06/backend/routers/users.py:22
Function
root
()
Chapter04/chapter4_17.py:18
Function
root
(id)
Chapter04/chapter4_02.py:7
Function
root
()
Chapter04/chapter4_01.py:7
Method
serialize_balance
(self, value: float)
Chapter03/chapter3_13.py:11
Method
serialize_updated
(self, value: datetime)
Chapter03/chapter3_13.py:15
Function
show_car
Get the record for a specific car, looked up by `id`.
Chapter07/backend/routers/cars.py:133
Function
update_car
Update individual fields of an existing car record. Only the provided fields will be updated. Any missing or `null` fields will be ignor
Chapter07/backend/routers/cars.py:183
Function
update_car
(car_id: PydanticObjectId, cardata: UpdateCar)
Chapter09/routers/cars.py:111
Function
upload
( picture: UploadFile = File(...), brand: str = Form(...), model: str = Form(...) )
Chapter04/chapter4_12.py:9
Function
upload
( file: UploadFile = File(...), brand: str = Form(...), model: str = Form(...) )
Chapter04/chapter4_11.py:7
Function
user
(id: int)
Chapter04/chapter4_03.py:7
← previous
101–142 of 142, ranked by callers