Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PacktPublishing/Full-Stack-FastAPI-React-and-MongoDB
/ functions
Functions
168 in github.com/PacktPublishing/Full-Stack-FastAPI-React-and-MongoDB
⨍
Functions
168
◇
Types & classes
41
↳
Endpoints
45
Function
getServerSideProps
({ req, res })
chapter8/frontend/next-cars/pages/cars/add.jsx:10
Function
getStaticPaths
()
chapter8/frontend/next-cars/pages/cars/[id].jsx:2
Function
getStaticProps
({ params: { id } })
chapter8/frontend/next-cars/pages/cars/[id].jsx:13
Function
get_sample
(n: int, request: Request)
chapter9/backend/routers/cars.py:59
Function
handleChangeBrand
(ev)
chapter6/frontend/src/pages/Cars.jsx:16
Function
handleChangePage
(ev)
chapter6/frontend/src/pages/Cars.jsx:22
Function
handleDelete
()
chapter6/frontend/src/pages/Car.jsx:36
Function
handleForm
(e)
chapter9/frontend/src/components/Report.jsx:9
Function
handleReset
(e)
chapter6/frontend/src/pages/NewCar.jsx:80
Function
handleSubmit
(e)
chapter8/frontend/next-cars/pages/cars/add.jsx:30
Function
handleSubmit
(e)
chapter8/frontend/next-cars/pages/account/login.jsx:13
Function
hinted_car_id
(id:int)
chapter3/chapter3_path.py:12
Function
list_all_cars
( request: Request, min_price: int = 0, max_price: int = 100000, brand: Optional[str] = None,
chapter7/backend/routers/cars.py:18
Function
list_all_cars
( request: Request, min_price: int=0, max_price:int=100000, brand: Optional[str] = None,
chapter5/backend/routers/cars.py:14
Function
list_all_cars
( request: Request, min_price: int = 0, max_price: int = 100000, brand: Optional[str] = None,
chapter8/backend/routers/cars.py:48
Function
list_all_cars
( request: Request, min_price: int = 0, max_price: int = 100000, brand: Optional[str] = None,
chapter9/backend/routers/cars.py:23
Function
login
(request: Request, loginUser: LoginBase = Body(...))
chapter7/backend/routers/users.py:59
Function
login
(request: Request, loginUser: LoginBase = Body(...))
chapter8/backend/routers/users.py:59
Function
logout
()
chapter7/frontend/src/components/Header.jsx:11
Function
me
(request: Request, userId=Depends(auth_handler.auth_wrapper))
chapter7/backend/routers/users.py:77
Function
me
(request: Request, userId=Depends(auth_handler.auth_wrapper))
chapter8/backend/routers/users.py:79
Function
middleware
(req)
chapter8/frontend/next-cars/middleware.js:4
Function
new_car
(data: Dict = Body(...))
chapter3/chapter3_request_body.py:20
Function
new_car_model
(car:InsertCar)
chapter3/chapter3_custom_status_code.py:22
Function
new_car_model
(car: InsertCar, user: InsertUser, code: int = Body(None))
chapter3/chapter3_body2.py:20
Function
onChange
(e)
chapter6/frontend/src/pages/NewCar.jsx:76
Function
onChange
(event)
chapter6/frontend/src/pages/Car.jsx:19
Function
onChangeHandler
chapter4/cars/src/App.js:18
Function
onErrors
chapter7/frontend/src/components/NewCar.jsx:19
Function
onErrors
(errors)
chapter7/frontend/src/components/Login.jsx:58
Function
onFormSubmit
(data)
chapter7/frontend/src/components/NewCar.jsx:21
Function
onFormSubmit
(data)
chapter7/frontend/src/components/Login.jsx:38
Function
post_root
()
chapter3/chapter3_first_endpoint.py:10
Function
predict
( brand: str = Body(...), make: str = Body(...), year: int = Body(...), cm3: int = Body(...),
chapter9/backend/routers/cars.py:132
Function
raw_fa_response
()
chapter3/chapter3_custom_status_code.py:15
Function
raw_request
(request:Request)
chapter3/chapter3_raw_request.py:6
Function
read_headers
(user_agent: str | None = Header(None))
chapter3/chapter3_header.py:6
Function
register
(request: Request, newUser: UserBase = Body(...))
chapter8/backend/routers/users.py:19
Function
reportWebVitals
chapter7/frontend/src/reportWebVitals.js:1
Function
report_pipeline
(email, cars_number)
chapter9/backend/utils/report.py:5
Function
root
(id)
chapter3/chapter3_path.py:6
Function
root
()
chapter3/chapter3_first_endpoint.py:6
Function
send_mail
( background_tasks: BackgroundTasks, cars_num: int = Body(...), email: str = Body(...), )
chapter9/backend/routers/cars.py:120
Function
show_car
(id: str, request: Request)
chapter7/backend/routers/cars.py:68
Function
show_car
(id: str, request: Request)
chapter5/backend/routers/cars.py:53
Function
show_car
(id: str, request: Request)
chapter8/backend/routers/cars.py:138
Function
shutdown_db_client
()
chapter7/backend/main.py:39
Function
shutdown_db_client
()
chapter5/backend/main.py:40
Function
shutdown_db_client
()
chapter8/backend/main.py:51
Function
shutdown_db_client
()
chapter9/backend/main.py:56
Function
startup_db_client
()
chapter7/backend/main.py:34
Function
startup_db_client
()
chapter5/backend/main.py:34
Function
startup_db_client
()
chapter8/backend/main.py:45
Function
startup_db_client
()
chapter9/backend/main.py:46
Function
transformedUrl
(id)
chapter8/frontend/next-cars/components/Card.js:6
Function
updatePrice
()
chapter6/frontend/src/pages/Car.jsx:56
Function
update_task
( id: str, request: Request, car: CarUpdate = Body(...), userId=Depends(auth_handler.auth_wrap
chapter7/backend/routers/cars.py:75
Function
update_task
(id: str, request: Request, car: CarUpdate = Body(...))
chapter5/backend/routers/cars.py:59
Function
update_task
( id: str, request: Request, car: CarUpdate = Body(...), userId=Depends(auth_handler.auth_wrap
chapter8/backend/routers/cars.py:145
Function
upload
(file:UploadFile=File(...), brand:str=Form(...), model:str=Form(...))
chapter3/chapter3_form_data.py:5
Function
upload
(picture:UploadFile=File(...), brand:str=Form(...), model:str=Form(...))
chapter3/chapter3_upload.py:7
Function
user
(id:int)
chapter3/chapter3_wrong_path_order.py:6
Method
valid_email
(cls, v)
chapter7/backend/models.py:47
Method
valid_email
(cls, v)
chapter8/backend/models.py:47
Method
validate
(cls, v)
chapter7/backend/models.py:16
Method
validate
(cls, v)
chapter5/backend/models.py:12
Method
validate
(cls, v)
chapter8/backend/models.py:16
Method
validate
(cls, v)
chapter9/backend/models.py:12
← previous
101–168 of 168, ranked by callers