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
↓ 8 callers
Function
register
(request: Request, newUser: UserBase = Body(...))
chapter7/backend/routers/users.py:19
↓ 6 callers
Function
useAuth
()
chapter7/frontend/src/hooks/useAuth.js:4
↓ 3 callers
Function
useAuth
()
chapter8/frontend/next-cars/hooks/useAuth.js:4
↓ 2 callers
Function
getCar
()
chapter6/frontend/src/pages/Car.jsx:23
↓ 2 callers
Function
handleSubmit
(e)
chapter6/frontend/src/pages/NewCar.jsx:71
↓ 1 callers
Function
Header
()
chapter4/cars/src/components/Header.js:1
↓ 1 callers
Function
addCar
(newCar)
chapter6/frontend/src/pages/NewCar.jsx:84
↓ 1 callers
Function
annotated_function
(name: str, age: int)
chapter3/chapter3_types.py:1
↓ 1 callers
Method
decode_token
(self, token)
chapter7/backend/authentication.py:28
↓ 1 callers
Method
decode_token
(self, token)
chapter8/backend/authentication.py:28
↓ 1 callers
Method
encode_token
(self, user_id)
chapter7/backend/authentication.py:20
↓ 1 callers
Method
encode_token
(self, user_id)
chapter8/backend/authentication.py:20
↓ 1 callers
Function
getUserData
(token)
chapter7/frontend/src/components/Login.jsx:20
↓ 1 callers
Method
get_password_hash
(self, password)
chapter7/backend/authentication.py:14
↓ 1 callers
Method
get_password_hash
(self, password)
chapter8/backend/authentication.py:14
↓ 1 callers
Function
make_query
(cars_number: int)
chapter9/backend/utils/report_query.py:16
↓ 1 callers
Function
options
(val)
chapter9/frontend/src/components/BrandValue.jsx:25
↓ 1 callers
Function
removeCookie
()
chapter8/frontend/next-cars/pages/account/logout.jsx:7
↓ 1 callers
Function
reportWebVitals
chapter6/frontend/src/reportWebVitals.js:1
↓ 1 callers
Function
reportWebVitals
chapter4/cars/src/reportWebVitals.js:1
↓ 1 callers
Function
send_report
(email, subject, HTMLcontent)
chapter9/backend/utils/send_report.py:10
↓ 1 callers
Method
verify_password
(self, plain_password, hashed_password)
chapter7/backend/authentication.py:17
↓ 1 callers
Method
verify_password
(self, plain_password, hashed_password)
chapter8/backend/authentication.py:17
Function
Add
({ jwt })
chapter8/frontend/next-cars/pages/cars/add.jsx:15
Function
Admin
()
chapter7/frontend/src/components/Admin.jsx:4
Function
App
()
chapter6/frontend/src/App.js:4
Function
App
()
chapter9/frontend/src/App.js:2
Function
App
()
chapter4/users/src/App.js:4
Function
App
()
chapter4/cars/src/App.js:5
Function
BrandCount
()
chapter9/frontend/src/components/BrandCount.jsx:14
Function
BrandValue
({ val })
chapter9/frontend/src/components/BrandValue.jsx:50
Function
Car
()
chapter6/frontend/src/pages/Car.jsx:9
Function
CarById
({ car })
chapter8/frontend/next-cars/pages/cars/[id].jsx:23
Function
Card
({ car })
chapter7/frontend/src/components/Card.jsx:3
Function
Card
({brand, make, year, url, km, price, cm3, id})
chapter8/frontend/next-cars/components/Card.js:23
Function
Card
({car})
chapter6/frontend/src/components/Card.jsx:2
Function
Card
({ car })
chapter9/frontend/src/components/Card.jsx:3
Function
Card
({car})
chapter4/cars/src/components/Card.js:1
Function
Cars
()
chapter6/frontend/src/pages/Cars.jsx:9
Function
CarsDropdown
({ selectHandler, allCars, elValue })
chapter9/frontend/src/components/CarsDropdown.jsx:3
Function
Dashboard
()
chapter9/frontend/src/components/Dashboard.jsx:5
Function
Footer
()
chapter7/frontend/src/components/Footer.jsx:3
Function
Footer
()
chapter8/frontend/next-cars/components/Footer.jsx:1
Function
Footer
()
chapter6/frontend/src/components/Footer.jsx:1
Function
Footer
()
chapter9/frontend/src/components/Footer.jsx:3
Function
FormInput
(props)
chapter6/frontend/src/components/FormInput.jsx:1
Function
Header
()
chapter7/frontend/src/components/Header.jsx:6
Function
Header
()
chapter8/frontend/next-cars/components/Header.jsx:5
Function
Header
()
chapter6/frontend/src/components/Header.jsx:5
Function
Header
()
chapter9/frontend/src/components/Header.jsx:2
Function
Header
()
chapter4/users/src/components/Header.js:1
Function
Home
()
chapter9/frontend/src/components/Home.jsx:9
Function
HomePage
()
chapter7/frontend/src/components/HomePage.jsx:3
Function
HomePage
()
chapter8/frontend/next-cars/pages/index.js:1
Function
Layout
()
chapter7/frontend/src/components/Layout.jsx:9
Function
Layout
({children})
chapter6/frontend/src/components/Layout.jsx:5
Function
Layout
({ children })
chapter9/frontend/src/components/Layout.jsx:4
Function
Loading
({brand})
chapter6/frontend/src/components/Loading.jsx:3
Function
Login
()
chapter7/frontend/src/components/Login.jsx:7
Function
Login
()
chapter8/frontend/next-cars/pages/account/login.jsx:5
Function
Logout
()
chapter8/frontend/next-cars/pages/account/logout.jsx:5
Function
Lorem
({title})
chapter6/frontend/src/components/Lorem.jsx:3
Function
ModelCount
()
chapter9/frontend/src/components/ModelCount.jsx:14
Function
MyApp
({ Component, pageProps })
chapter8/frontend/next-cars/pages/_app.js:8
Function
NewCar
()
chapter7/frontend/src/components/NewCar.jsx:9
Function
NewCar
()
chapter6/frontend/src/pages/NewCar.jsx:10
Function
NotFound
()
chapter7/frontend/src/components/NotFound.jsx:3
Function
Protected
()
chapter7/frontend/src/components/Protected.jsx:8
Function
Register
()
chapter7/frontend/src/components/Register.jsx:3
Function
Register
()
chapter8/frontend/next-cars/pages/account/register.jsx:1
Function
Report
()
chapter9/frontend/src/components/Report.jsx:3
Function
RequireAuthentication
()
chapter7/frontend/src/components/RequireAuthentication.jsx:4
Method
__get_validators__
(cls)
chapter7/backend/models.py:12
Method
__get_validators__
(cls)
chapter5/backend/models.py:8
Method
__get_validators__
(cls)
chapter8/backend/models.py:12
Method
__get_validators__
(cls)
chapter9/backend/models.py:8
Method
__modify_schema__
(cls, field_schema)
chapter7/backend/models.py:22
Method
__modify_schema__
(cls, field_schema)
chapter5/backend/models.py:18
Method
__modify_schema__
(cls, field_schema)
chapter8/backend/models.py:22
Method
__modify_schema__
(cls, field_schema)
chapter9/backend/models.py:18
Function
account
( acc_type:AccountType, months:int = Path(..., ge=3,le=12))
chapter3/chapter3_restrict_path.py:10
Method
auth_wrapper
(self, auth: HTTPAuthorizationCredentials = Security(security))
chapter7/backend/authentication.py:37
Method
auth_wrapper
(self, auth: HTTPAuthorizationCredentials = Security(security))
chapter8/backend/authentication.py:37
Function
brand_count
(request: Request)
chapter9/backend/routers/cars.py:96
Function
brand_price
(brand: str, request: Request)
chapter7/backend/routers/cars.py:124
Function
brand_price
(brand: str,request: Request)
chapter5/backend/routers/cars.py:85
Function
brand_price
(brand: str, request: Request)
chapter8/backend/routers/cars.py:197
Function
brand_price
(brand: str, val: str, request: Request)
chapter9/backend/routers/cars.py:79
Function
cars_by_price
(min_price:int=0, max_price:int=100000)
chapter3/chapter3_query_string.py:6
Function
create_car
( request: Request, car: CarBase = Body(...), userId=Depends(auth_handler.auth_wrapper), )
chapter7/backend/routers/cars.py:49
Function
create_car
(request: Request, car: CarBase = Body(...))
chapter5/backend/routers/cars.py:41
Function
create_car_form
( request: Request, brand: str = Form("brand"), make: str = Form("make"), year: int = Form("ye
chapter8/backend/routers/cars.py:85
Function
delete_task
( id: str, request: Request, userId=Depends(auth_handler.auth_wrapper) )
chapter7/backend/routers/cars.py:104
Function
delete_task
(id: str, request: Request)
chapter5/backend/routers/cars.py:72
Function
delete_task
( id: str, request: Request, userId=Depends(auth_handler.auth_wrapper) )
chapter8/backend/routers/cars.py:174
Function
fetcher
(...args)
chapter9/frontend/src/components/BrandCount.jsx:12
Function
fetcher
(...args)
chapter9/frontend/src/components/ModelCount.jsx:12
Function
fetcher
(...args)
chapter9/frontend/src/components/Home.jsx:7
Function
fetcher
(...args)
chapter9/frontend/src/components/BrandValue.jsx:48
Function
getServerSideProps
()
chapter8/frontend/next-cars/pages/cars/index.js:3
next →
1–100 of 168, ranked by callers