Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GeekyAnts/express-typescript
/ functions
Functions
71 in github.com/GeekyAnts/express-typescript
⨍
Functions
71
◇
Types & classes
68
↓ 28 callers
Method
info
(_string: string)
src/middlewares/Log.ts:26
↓ 27 callers
Method
config
* Makes env configs available for your app * throughout the app's runtime
src/providers/Locals.ts:16
↓ 12 callers
Method
flash
(message: string, callback: any)
src/interfaces/vendors/IRequest.ts:10
↓ 11 callers
Method
redirect
(arg0: any)
src/interfaces/vendors/IResponse.ts:10
↓ 6 callers
Method
error
(_string: string)
src/middlewares/Log.ts:36
↓ 6 callers
Method
mount
(_express: Application)
src/middlewares/CORS.ts:14
↓ 5 callers
Method
init
* Injects your config to the app's locals
src/providers/Locals.ts:75
↓ 4 callers
Method
addLog
* Creates the file if does not exist, and * append the log kind & string into the file.
src/middlewares/Log.ts:52
↓ 3 callers
Method
comparePassword
(password: string, cb: any)
src/models/User.ts:16
↓ 2 callers
Method
init
* Starts the express server
src/providers/Express.ts:53
↓ 2 callers
Method
logIn
(user: any, callback: any)
src/interfaces/vendors/IRequest.ts:12
↓ 2 callers
Method
process
(_jobName: string, _count: number, _callback: Function)
src/providers/Queue.ts:50
↓ 1 callers
Method
clearConsole
()
src/providers/App.ts:20
↓ 1 callers
Method
cluster
(_cluster)
src/exception/NativeEvent.ts:10
↓ 1 callers
Method
dispatch
(_jobName: string, _args: object, _callback: Function)
src/providers/Queue.ts:30
↓ 1 callers
Method
getToken
(req)
src/controllers/Api/Auth/RefreshToken.ts:12
↓ 1 callers
Method
loadConfiguration
()
src/providers/App.ts:29
↓ 1 callers
Method
loadDatabase
()
src/providers/App.ts:43
↓ 1 callers
Method
loadQueue
()
src/providers/App.ts:55
↓ 1 callers
Method
loadServer
()
src/providers/App.ts:36
↓ 1 callers
Method
loadWorker
()
src/providers/App.ts:50
↓ 1 callers
Method
logout
()
src/interfaces/vendors/IRequest.ts:14
↓ 1 callers
Method
mountApi
(_express: Application)
src/providers/Routes.ts:21
↓ 1 callers
Method
mountDotEnv
()
src/providers/Express.ts:31
↓ 1 callers
Method
mountLocalStrategies
()
src/providers/Passport.ts:37
↓ 1 callers
Method
mountMiddlewares
* Mounts all the defined middlewares
src/providers/Express.ts:38
↓ 1 callers
Method
mountPackage
(_express: Application)
src/providers/Passport.ts:18
↓ 1 callers
Method
mountRoutes
* Mounts all the defined routes
src/providers/Express.ts:45
↓ 1 callers
Method
mountWeb
(_express: Application)
src/providers/Routes.ts:15
↓ 1 callers
Function
navbarCollapse
()
views/static/js/custom.js:40
↓ 1 callers
Method
notFoundHandler
* Handles all the not found routes
src/exception/Handler.ts:14
↓ 1 callers
Method
removeProcessedJob
(_id)
src/providers/Queue.ts:36
↓ 1 callers
Method
warn
(_string: string)
src/middlewares/Log.ts:31
Method
billingAddress
()
src/models/User.ts:15
Method
cache
* Checks for the available cached data * or adds if not available
src/providers/Cache.ts:14
Method
clean
* Deletes the log files older than 'X' days * * Note: 'X' is defined in .env file
src/middlewares/Log.ts:83
Method
clientErrorHandler
* Handles your api/web routes errors/exception
src/exception/Handler.ts:40
Method
constructor
()
src/providers/Queue.ts:15
Method
constructor
* Initializes the express server
src/providers/Express.ts:23
Method
constructor
()
src/middlewares/Log.ts:15
Method
custom
(_filename: string, _string: string)
src/middlewares/Log.ts:44
Method
errorHandler
* Show undermaintenance page incase of errors
src/exception/Handler.ts:53
Method
googleCallback
(req, res)
src/controllers/Auth/Social.ts:8
Method
gravatar
(_size: number)
src/models/User.ts:18
Method
index
(req: IRequest, res: IResponse, next)
src/controllers/Home.ts:10
Method
index
(req: IRequest, res: IResponse)
src/controllers/Account.ts:10
Method
index
(req, res, next)
src/controllers/Api/Home.ts:10
Method
init
()
src/providers/Database.ts:16
Method
init
(_express: Application)
src/middlewares/Kernel.ts:19
Method
init
(_passport: any)
src/services/strategies/Twitter.ts:12
Method
init
(_passport: any)
src/services/strategies/Google.ts:12
Method
init
(_passport: any)
src/services/strategies/Local.ts:12
Method
isAuthenticated
(req, res, next)
src/providers/Passport.ts:47
Method
isAuthorized
(req, res, next)
src/providers/Passport.ts:56
Method
logErrors
* Register your error / exception monitoring * tools right here ie. before "next(err)"!
src/exception/Handler.ts:82
Method
mount
(_express: Application)
src/middlewares/Http.ts:23
Method
mount
(_express: any)
src/middlewares/CsrfToken.ts:15
Method
mount
(_express: Application)
src/middlewares/StatusMonitor.ts:14
Method
mount
(_express: Application)
src/middlewares/Views.ts:13
Method
mount
(_express: express.Application)
src/middlewares/Statics.ts:13
Method
perform
(req: IRequest, res: IResponse)
src/controllers/Auth/Logout.ts:10
Method
perform
(req: IRequest, res: IResponse, next: INext)
src/controllers/Auth/Register.ts:17
Method
perform
(req: IRequest, res: IResponse, next: INext)
src/controllers/Auth/Login.ts:21
Method
perform
(req, res)
src/controllers/Api/Auth/Register.ts:10
Method
perform
(req, res)
src/controllers/Api/Auth/Login.ts:12
Method
perform
(req, res)
src/controllers/Api/Auth/RefreshToken.ts:22
Method
process
()
src/exception/NativeEvent.ts:34
Method
show
(req: IRequest, res: IResponse)
src/controllers/Auth/Register.ts:11
Method
show
(req: IRequest, res: IResponse)
src/controllers/Auth/Login.ts:15
Method
user
()
src/interfaces/vendors/IRequest.ts:13
Method
validPassword
(password: string, cb: any)
src/models/User.ts:17