Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bsoc-bitbyte/busify
/ functions
Functions
153 in github.com/bsoc-bitbyte/busify
⨍
Functions
153
◇
Types & classes
72
↓ 12 callers
Function
notify
(message: string, type: 'warn' | 'error' | 'success')
frontend/src/utils/notify.ts:3
↓ 6 callers
Function
handleChange
(name: string, value: string | Array<string>)
frontend/src/components/AdminPanel/EditBusDetailsModal/index.tsx:118
↓ 4 callers
Function
handleClick
(props: number)
frontend/src/components/AdminPanel/AdminSideBar/index.tsx:61
↓ 4 callers
Function
handleFilterChange
(selectedFilter: string)
frontend/src/pages/Profile/index.tsx:109
↓ 3 callers
Function
OpenDashBoard
()
frontend/src/components/AdminPanel/AdminSideBar/index.tsx:31
↓ 2 callers
Method
createBus
(bus: any)
backend/src/Bus/bus.service.ts:15
↓ 2 callers
Method
getConductors
()
backend/src/Bus/bus.service.ts:35
↓ 2 callers
Method
getContractors
()
backend/src/Bus/bus.service.ts:49
↓ 2 callers
Function
handleAddPassenger
(event: React.FormEvent)
frontend/src/components/BusDetails/index.tsx:109
↓ 2 callers
Function
useScreen
()
frontend/src/customHooks/useScreen.tsx:4
↓ 1 callers
Function
GoHome
()
frontend/src/components/Custom Empty Modal/index.tsx:7
↓ 1 callers
Function
OpenSchedule
()
frontend/src/components/AdminPanel/AdminSideBar/index.tsx:34
↓ 1 callers
Function
bootstrap
()
backend/src/main.ts:4
↓ 1 callers
Function
checkAuth
()
frontend/src/components/ValidateAuth.tsx:8
↓ 1 callers
Function
cleanDb
()
backend/prisma/seed.mjs:134
↓ 1 callers
Function
closeDrawer
()
frontend/src/components/BusDetails/index.tsx:107
↓ 1 callers
Method
createConductor
(conductor: any)
backend/src/Bus/bus.service.ts:79
↓ 1 callers
Method
createContractor
(contractor: any)
backend/src/Bus/bus.service.ts:63
↓ 1 callers
Method
createSchedule
(schedule: any)
backend/src/Bus/bus.service.ts:96
↓ 1 callers
Method
createToken
(email: string, id: string)
backend/src/Auth/auth.service.ts:81
↓ 1 callers
Method
decrypt
(encryptedMessage: string, secretKey: string)
backend/src/ticketScanner/ticket-scanner.service.ts:50
↓ 1 callers
Method
decryptTicket
(encryptedData: string, userId: string)
backend/src/ticketScanner/ticket-scanner.service.ts:32
↓ 1 callers
Method
encrypt
(message: string, secretKey: string)
backend/src/ticket/ticket.service.ts:87
↓ 1 callers
Function
fetchSchedules
()
frontend/src/components/TicketCard.tsx:143
↓ 1 callers
Function
fetchSchedules
()
frontend/src/components/TicketCardClose.tsx:184
↓ 1 callers
Function
filterSchedulesByDate
( tickets: TicketFetchedData[], filter: string )
frontend/src/components/TicketCardClose.tsx:200
↓ 1 callers
Function
filterTickets
(tickets: TicketFetchedData[])
frontend/src/components/TicketCard.tsx:158
↓ 1 callers
Method
generateToken
(orderId: string, emails: string[])
backend/src/ticket/ticket.service.ts:83
↓ 1 callers
Method
getGoogleOAuthToken
(code: string)
backend/src/Auth/auth.service.ts:87
↓ 1 callers
Function
getGoogleOAuthURL
()
frontend/src/utils/getOAuthRedirectUrl.ts:1
↓ 1 callers
Function
getRecentOrders
()
frontend/src/pages/AdminDashBoard/index.tsx:27
↓ 1 callers
Function
getRecentSchedule
()
frontend/src/pages/AdminSchedule/index.tsx:23
↓ 1 callers
Function
getScheduleData
()
frontend/src/pages/BusSchedule/index.tsx:24
↓ 1 callers
Method
googleLoginCallback
(code: string, res: Response)
backend/src/Auth/auth.service.ts:17
↓ 1 callers
Function
googleLoginHandler
()
frontend/src/components/GoogleAuthLogin.tsx:8
↓ 1 callers
Function
handleClose
()
frontend/src/components/DetailsCards/BusCards/index.tsx:9
↓ 1 callers
Function
handleRemovePassenger
(emailID: string)
frontend/src/components/BusDetails/index.tsx:136
↓ 1 callers
Function
handleTicketCreated
(orderId: String)
frontend/src/pages/Checkout/index.tsx:49
↓ 1 callers
Function
loadScript
(src: string)
frontend/src/utils/razorpay.ts:1
↓ 1 callers
Function
openDrawer
()
frontend/src/components/BusDetails/index.tsx:106
↓ 1 callers
Function
renderBtnContent
()
frontend/src/components/CustomButton/index.tsx:11
↓ 1 callers
Function
renderIcon
()
frontend/src/components/CustomButton/index.tsx:7
↓ 1 callers
Function
seedDb
()
backend/prisma/seed.mjs:144
↓ 1 callers
Function
timeDifference
(date: Date)
frontend/src/components/AdminPanel/RecentOrderCard/index.tsx:33
↓ 1 callers
Method
validateAdmin
(userId: string)
backend/src/Auth/utils/admin.guard.ts:12
↓ 1 callers
Method
validateToken
(token: string)
backend/src/Auth/utils/jwt.guard.ts:11
Function
AboutUs
()
frontend/src/pages/AboutUs/AboutUs.tsx:16
Function
Admin
()
frontend/src/pages/AdminDashBoard/index.tsx:22
Function
AdminLayout
({children}: LayoutProps)
frontend/src/components/AdminPanel/AdminLayout/index.tsx:9
Function
AdminProtectedRoute
({ children, })
frontend/src/components/AdminProtectedRoutes.tsx:10
Function
AdminSchedule
()
frontend/src/pages/AdminSchedule/index.tsx:14
Function
App
()
frontend/src/App.tsx:26
Function
BusCards
({schedule}: {schedule: ScheduleType})
frontend/src/components/DetailsCards/BusCards/index.tsx:6
Function
BusDetails
({time, from, to, disabled, scheduleId}: BusDetailsType)
frontend/src/components/BusDetails/index.tsx:92
Function
BusDetails
()
frontend/src/pages/Checkout/index.tsx:41
Function
BusDetailsCard
()
frontend/src/components/BusDetailsCard/index.tsx:17
Function
BusSchedule
()
frontend/src/pages/BusSchedule/index.tsx:17
Function
BusTicket
({ checkpoints, time, price, seatsLeft, from, to, scheduleId, disabled, }: BusTicketData)
frontend/src/components/BusTicket/index.tsx:6
Function
ConductorCards
()
frontend/src/components/DetailsCards/ConductorCards/index.tsx:3
Function
ContactUs
()
frontend/src/pages/ContactUs/contactUs.tsx:7
Function
CustomButton
frontend/src/components/CustomButton/index.tsx:6
Function
DecryptionForm
()
frontend/src/pages/DemoPage/demopage.tsx:5
Function
EditBusDetailsModal
({ open, handleClose, schedule = undefined, }: EditBusDetailsModalProps)
frontend/src/components/AdminPanel/EditBusDetailsModal/index.tsx:77
Function
EmptyModal
frontend/src/components/Custom Empty Modal/index.tsx:5
Function
FareBreakdownCard
()
frontend/src/components/FareBreakdownCard/index.tsx:14
Function
Footer
()
frontend/src/components/Footer/index.tsx:22
Function
GoogleAuthLogin
()
frontend/src/components/GoogleAuthLogin.tsx:5
Function
Home
()
frontend/src/pages/Home/index.tsx:8
Function
Navbar
()
frontend/src/components/Navbar/index.tsx:80
Function
NotFoundPage
()
frontend/src/pages/NotFoundPage/index.tsx:4
Function
OrderDetailsCard
({ active, details, showModal, }: RecentOrderCardProps)
frontend/src/components/AdminPanel/OrderDetailsCard/index.tsx:27
Function
PricingCard
({title, price, features})
frontend/src/pages/PricingPage/PricingCards.tsx:19
Function
PricingPage
()
frontend/src/pages/PricingPage/PricingPage.tsx:27
Function
PrivacyPolicy
()
frontend/src/pages/PrivacyPolicy/PrivacyPolicy.tsx:27
Function
ProfilePage
()
frontend/src/pages/Profile/index.tsx:104
Function
RecentOrderCard
({ details, }: { details: RecentOrdersProps; })
frontend/src/components/AdminPanel/RecentOrderCard/index.tsx:12
Function
RecentOrderCard
()
frontend/src/components/RecentOrderCard/index.tsx:9
Function
RefundPolicy
()
frontend/src/pages/RefundPolicy/RefundPolicy.tsx:27
Function
SchedulesByPassengerEmail
({ email, })
frontend/src/components/TicketCard.tsx:136
Function
SchedulesByPassengerEmailClose
({email, filter})
frontend/src/components/TicketCardClose.tsx:180
Function
SideBar
()
frontend/src/components/AdminPanel/AdminSideBar/index.tsx:21
Function
Submit
()
frontend/src/components/AdminPanel/EditBusDetailsModal/index.tsx:133
Function
TermsAndConditions
()
frontend/src/pages/TermsAndconditions/TermsAndConditions.tsx:27
Function
UserProtectedRoute
({children})
frontend/src/components/ProtectedRoutes.tsx:10
Function
ValidateAuth
()
frontend/src/components/ValidateAuth.tsx:5
Method
adminProtected
()
backend/src/Bus/bus.controller.ts:143
Function
bookTicketHandler
()
frontend/src/components/BusDetails/index.tsx:143
Method
canActivate
(context: ExecutionContext)
backend/src/Auth/utils/jwt.guard.ts:22
Method
canActivate
(context: ExecutionContext)
backend/src/Auth/utils/admin.guard.ts:23
Function
closeMenu
( event: React.MouseEvent<HTMLDivElement | HTMLAnchorElement> )
frontend/src/components/Navbar/index.tsx:93
Function
closeSidebar
()
frontend/src/components/AdminPanel/AdminSideBar/index.tsx:25
Method
constructor
(private prisma: PrismaService, private jwtService: JwtService)
backend/src/Auth/auth.service.ts:14
Method
constructor
(private readonly authService: AuthService)
backend/src/Auth/auth.controller.ts:9
Method
constructor
(private jwtService: JwtService)
backend/src/Auth/utils/jwt.guard.ts:10
Method
constructor
(private prismaService: PrismaService)
backend/src/Auth/utils/admin.guard.ts:11
Method
constructor
()
backend/src/Redis/redis.service.ts:10
Method
constructor
()
backend/src/Prisma/prisma.service.ts:6
Method
constructor
(private readonly ordersService: OrdersService)
backend/src/Orders/orders.controller.ts:15
Method
constructor
( private readonly prismaService: PrismaService, private readonly redisService: RedisService, priv
backend/src/Orders/orders.service.ts:27
Method
constructor
()
backend/src/Razorpay/razorpay.service.ts:18
next →
1–100 of 153, ranked by callers