Skip to content

Instantly share code, notes, and snippets.

View vineeth-pappu's full-sized avatar
🥇
History in the making

Vineeth Viswanathan vineeth-pappu

🥇
History in the making
View GitHub Profile
@vineeth-pappu
vineeth-pappu / System Design.md
Created June 18, 2021 16:37 — forked from vasanthk/System Design.md
System Design Cheatsheet

System Design Cheatsheet

Picking the right architecture = Picking the right battles + Managing trade-offs

Basic Steps

  1. Clarify and agree on the scope of the system
  • User cases (description of sequences of events that, taken together, lead to a system doing something useful)
    • Who is going to use it?
    • How are they going to use it?
@vineeth-pappu
vineeth-pappu / app.authguard.ts
Created April 19, 2021 08:35 — forked from sairamkrish/app.authguard.ts
keycloak - angular integration - authguard example
import { Injectable } from '@angular/core';
import { CanActivate, Router, ActivatedRouteSnapshot, RouterStateSnapshot } from '@angular/router';
import { KeycloakService, KeycloakAuthGuard } from 'keycloak-angular';
@Injectable()
export class AppAuthGuard extends KeycloakAuthGuard {
constructor(protected router: Router, protected keycloakAngular: KeycloakService) {
super(router, keycloakAngular);
}