Blending creativity and technology to deliver software solutions and engaging media.
@Injectable({ providedIn: 'root', }) export class GameService { constructor(private readonly db: AngularFirestore) {} getGame(gameURL: string): Observable<Game> { return this.db .collection<Game>(COLLECTION) .doc<Game>(gameURL.toLowerCase()) .valueChanges(); } }