Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bojidaryovchev/nest-angular
/ functions
Functions
126 in github.com/bojidaryovchev/nest-angular
⨍
Functions
126
◇
Types & classes
107
↓ 5 callers
Method
createToken
(user: IUser)
src/server/modules/auth/auth.service.ts:32
↓ 3 callers
Method
forRoot
(port: number = SERVER_CONFIG.wsPort)
src/server/modules/graphql/subscriptions/subscriptions.module.ts:11
↓ 2 callers
Function
generateHashedPassword
(salt, password)
src/server/utilities/encryption.ts:7
↓ 2 callers
Method
getToken
()
src/client/app/services/auth.service.ts:63
↓ 2 callers
Method
parseTwitterResponse
(response: string)
src/server/modules/auth/auth.service.ts:240
↓ 1 callers
Function
Roles
(...roles: string[])
src/server/decorators/roles.decorator.ts:3
↓ 1 callers
Method
addIngredient
(ingredient: Ingredient)
src/client/app/services/shopping-list.service.ts:23
↓ 1 callers
Method
addIngredients
(ingredients: Ingredient[])
src/client/app/services/shopping-list.service.ts:33
↓ 1 callers
Method
addIngredientsToShoppingList
(ingredients: Ingredient[])
src/client/app/services/recipes.service.ts:36
↓ 1 callers
Function
bootstrap
()
src/server/main.ts:12
↓ 1 callers
Method
canActivate
(route: ActivatedRouteSnapshot, state: RouterStateSnapshot)
src/client/app/guards/auth-guard.service.ts:19
↓ 1 callers
Method
clearFields
()
src/client/app/components/shopping-list/shopping-list-edit/shopping-list-edit.component.ts:36
↓ 1 callers
Method
createSchema
(globPattern: string)
src/server/modules/graphql/graphql.module.ts:41
↓ 1 callers
Function
createSubscriptionProviders
(port: number = SERVER_CONFIG.wsPort)
src/server/modules/graphql/subscriptions/subscriptions.providers.ts:6
↓ 1 callers
Function
extractKey
(path: string)
src/server/utilities/keys.ts:3
↓ 1 callers
Method
facebookSignIn
(code: string)
src/client/app/services/auth.service.ts:35
↓ 1 callers
Method
findUserById
(id: string)
src/server/modules/auth/auth.service.ts:43
↓ 1 callers
Function
generateSalt
()
src/server/utilities/encryption.ts:3
↓ 1 callers
Method
getIngredients
()
src/client/app/services/shopping-list.service.ts:17
↓ 1 callers
Method
getParagraphText
()
e2e/app.po.ts:8
↓ 1 callers
Method
getRecipe
(id: number)
src/client/app/services/recipes.service.ts:26
↓ 1 callers
Method
getRecipes
()
src/client/app/services/recipes.service.ts:30
↓ 1 callers
Method
googleSignIn
(code: string)
src/client/app/services/auth.service.ts:55
↓ 1 callers
Method
init
()
src/server/modules/auth/passport/twitter.strategy.ts:20
↓ 1 callers
Method
init
()
src/server/modules/auth/passport/google-plus.strategy.ts:20
↓ 1 callers
Method
init
()
src/server/modules/auth/passport/facebook.strategy.ts:20
↓ 1 callers
Method
init
()
src/server/modules/auth/passport/local.strategy.ts:18
↓ 1 callers
Method
isAuthenticated
()
src/client/app/services/auth.service.ts:71
↓ 1 callers
Method
navigateTo
()
e2e/app.po.ts:4
↓ 1 callers
Method
removeRecipe
(index: number)
src/client/app/services/recipes.service.ts:40
↓ 1 callers
Method
requestFacebookRedirectUri
()
src/client/app/services/auth.service.ts:31
↓ 1 callers
Method
requestFacebookRedirectUri
()
src/server/modules/auth/auth.service.ts:47
↓ 1 callers
Method
requestGoogleRedirectUri
()
src/client/app/services/auth.service.ts:51
↓ 1 callers
Method
requestTwitterRedirectUri
()
src/client/app/services/auth.service.ts:43
↓ 1 callers
Function
setupUniversal
(app: NestApplication, ngOptions: IAngularUniversalOptions)
src/server/modules/angular-universal/utils/setup-universal.utils.ts:7
↓ 1 callers
Method
twitterSignIn
(oauth_token: string, oauth_verifier: string)
src/client/app/services/auth.service.ts:47
Method
authorized
()
src/server/modules/auth/auth.controller.ts:72
Function
bodyValidatorMiddleware
(req: Request, res: Response, next: Function)
src/server/modules/auth/middlewares/body-validator.middleware.ts:7
Method
canActivate
(context: ExecutionContext)
src/server/guards/roles.guard.ts:10
Method
canActivateChild
(route: ActivatedRouteSnapshot, state: RouterStateSnapshot)
src/client/app/guards/auth-guard.service.ts:28
Method
canDeactivate
( component: CanComponentDeactivate, route: ActivatedRouteSnapshot, state: RouterStateSnapshot,
src/client/app/guards/can-deactivate-guard.service.ts:18
Method
configure
(consumer: MiddlewareConsumer)
src/server/modules/angular-universal/angular-universal.module.ts:46
Method
configure
(consumer: MiddlewareConsumer)
src/server/modules/auth/auth.module.ts:36
Method
configure
(consumer: MiddlewareConsumer)
src/server/modules/graphql/graphql.module.ts:22
Method
constructor
( @Inject(PLATFORM_ID) private platformId: Object, @Inject(APP_ID) private appId: string )
src/client/app/app.module.ts:56
Method
constructor
( private readonly recipesService: RecipesService, private readonly authService: AuthService, priv
src/client/app/components/recipes/recipes.component.ts:27
Method
constructor
()
src/client/app/components/recipes/recipe-edit/recipe-edit.component.ts:10
Method
constructor
( private readonly recipesService: RecipesService, private readonly route: ActivatedRoute, private
src/client/app/components/recipes/recipe-details/recipe-details.component.ts:16
Method
constructor
()
src/client/app/components/recipes/recipes-list/recipes-list.component.ts:12
Method
constructor
( public name: string, public description: string, public imagePath: string, public ingredient
src/client/app/components/recipes/recipes-list/recipe-item/recipe-item.component.ts:5
Method
constructor
()
src/client/app/components/recipes/recipes-list/recipe-item/recipe-item.component.ts:22
Method
constructor
()
src/client/app/components/header/header.component.ts:27
Method
constructor
( private readonly shoppingListService: ShoppingListService )
src/client/app/components/shopping-list/shopping-list.component.ts:13
Method
constructor
( private readonly shoppingListService: ShoppingListService )
src/client/app/components/shopping-list/shopping-list-edit/shopping-list-edit.component.ts:17
Method
constructor
()
src/client/app/guards/can-deactivate-guard.service.ts:16
Method
constructor
( private readonly authService: AuthService, private readonly router: Router )
src/client/app/guards/auth-guard.service.ts:14
Method
constructor
( private readonly injector: Injector )
src/client/app/interceptors/token.interceptor.ts:9
Method
constructor
( private readonly httpClient: HttpClient )
src/client/app/services/auth.service.ts:9
Method
constructor
( private readonly shoppingListService: ShoppingListService )
src/client/app/services/recipes.service.ts:22
Method
constructor
()
src/client/app/services/shopping-list.service.ts:15
Method
constructor
( )
src/client/app/shared/directives/dropdown.directive.ts:9
Method
constructor
( public name: string, public amount: number)
src/client/app/shared/components/ingredient/ingredient.component.ts:4
Method
constructor
()
src/client/app/shared/components/ingredient/ingredient.component.ts:19
Method
constructor
( @Inject(ANGULAR_UNIVERSAL_OPTIONS) private readonly ngOptions: IAngularUniversalOptions, )
src/server/modules/angular-universal/angular-universal.controller.ts:10
Method
constructor
( @Inject(ANGULAR_UNIVERSAL_OPTIONS) private readonly ngOptions: IAngularUniversalOptions, @Inject(HTT
src/server/modules/angular-universal/angular-universal.module.ts:22
Method
constructor
( @Inject(USER_MODEL_TOKEN) private readonly userModel: Model<IUser>, @Inject(FACEBOOK_CONFIG_TOKEN) p
src/server/modules/auth/auth.service.ts:23
Method
constructor
(private readonly authService: AuthService)
src/server/modules/auth/auth.controller.ts:12
Method
constructor
( @Inject(TWITTER_CONFIG_TOKEN) private readonly twitterConfig: ITwitterConfig, @Inject(USER_MODEL_TOK
src/server/modules/auth/passport/twitter.strategy.ts:13
Method
constructor
( @Inject(GOOGLE_CONFIG_TOKEN) private readonly googleConfig: IGoogleConfig, @Inject(USER_MODEL_TOKEN)
src/server/modules/auth/passport/google-plus.strategy.ts:13
Method
constructor
( @Inject(FACEBOOK_CONFIG_TOKEN) private readonly fbConfig: IFacebookConfig, @Inject(USER_MODEL_TOKEN)
src/server/modules/auth/passport/facebook.strategy.ts:13
Method
constructor
(private readonly authService: AuthService)
src/server/modules/auth/passport/jwt.strategy.ts:12
Method
constructor
( @Inject(USER_MODEL_TOKEN) private readonly userModel: Model<IUser> )
src/server/modules/auth/passport/local.strategy.ts:12
Method
constructor
( private readonly userService: UserService )
src/server/modules/user/user.controller.ts:6
Method
constructor
( @Inject(USER_MODEL_TOKEN) private readonly userModel: Model<IUser> )
src/server/modules/user/user.service.ts:9
Method
constructor
( private readonly subscriptionsService: SubscriptionsService, private readonly graphQLFactory: GraphQ
src/server/modules/graphql/graphql.module.ts:17
Method
constructor
(@Inject(SUBSCRIPTION_SERVER) private readonly ws: Server)
src/server/modules/graphql/subscriptions/subscriptions.service.ts:12
Method
constructor
( private readonly reflector: Reflector )
src/server/guards/roles.guard.ts:6
Method
createIngredient
()
src/client/app/components/shopping-list/shopping-list-edit/shopping-list-edit.component.ts:26
Method
createSubscriptionServer
( schema: GraphQLSchema, options: ServerOptions = {}, socketOptions: WebSocket.ServerOptions = {},
src/server/modules/graphql/subscriptions/subscriptions.service.ts:14
Method
facebookLogin
()
src/client/app/components/recipes/recipes.component.ts:94
Method
facebookSignIn
(code: string)
src/server/modules/auth/auth.service.ts:60
Method
facebookSignIn
(@Req() req: Request)
src/server/modules/auth/auth.controller.ts:30
Method
forRoot
()
src/server/modules/angular-universal/angular-universal.module.ts:29
Method
getProtected
()
src/client/app/components/recipes/recipes.component.ts:87
Method
getProtected
()
src/client/app/services/auth.service.ts:59
Method
googleLogin
()
src/client/app/components/recipes/recipes.component.ts:108
Method
googleSignIn
(code: string)
src/server/modules/auth/auth.service.ts:192
Method
googleSignIn
(@Req() req: Request)
src/server/modules/auth/auth.controller.ts:60
Method
handleClick
(e: Event)
src/client/app/shared/directives/dropdown.directive.ts:12
Method
hasRole
()
src/server/guards/roles.guard.ts:19
Method
intercept
(request: HttpRequest<any>, next: HttpHandler)
src/client/app/interceptors/token.interceptor.ts:13
Method
ngOnInit
()
src/client/app/components/recipes/recipes.component.ts:35
Method
ngOnInit
()
src/client/app/components/recipes/recipe-edit/recipe-edit.component.ts:12
Method
ngOnInit
()
src/client/app/components/recipes/recipe-details/recipe-details.component.ts:22
Method
ngOnInit
()
src/client/app/components/recipes/recipes-list/recipes-list.component.ts:14
Method
ngOnInit
()
src/client/app/components/recipes/recipes-list/recipe-item/recipe-item.component.ts:24
Method
ngOnInit
()
src/client/app/components/header/header.component.ts:29
Method
ngOnInit
()
src/client/app/components/shopping-list/shopping-list.component.ts:17
Method
ngOnInit
()
src/client/app/components/shopping-list/shopping-list-edit/shopping-list-edit.component.ts:21
Method
ngOnInit
()
src/client/app/shared/components/ingredient/ingredient.component.ts:21
next →
1–100 of 126, ranked by callers