Skip to content

Instantly share code, notes, and snippets.

View hrvbernardic's full-sized avatar

Hrvoje Bernardić hrvbernardic

  • Mediatoolkit
  • Zagreb, Croatia
View GitHub Profile
import { inject, Injectable } from '@angular/core';
import { NonNullableFormBuilder } from '@angular/forms';
import { ComponentStore, OnStateInit, tapResponse } from '@ngrx/component-store';
import { of } from 'rxjs';
import { switchMap, tap, withLatestFrom } from 'rxjs/operators';
export interface User {
id: number;
name: string;
}
@hrvbernardic
hrvbernardic / nx-structure-angular-nestjs.md
Created March 31, 2021 17:22 — forked from trungvose/nx-structure-angular-nestjs.md
Nx workspace structure for NestJS and Angular

Nx

https://nx.dev/

Nx is a suite of powerful, extensible dev tools to help you architect, test, and build at any scale — integrating seamlessly with modern technologies and libraries while providing a robust CLI, caching, dependency management, and more.

It has first-class support for many frontend and backend technologies, so its documentation comes in multiple flavours.

Principles