#05 Tela de assinatura com formulário DINÂMICO e MULTI-STEP | [Série] Criando um SaaS do ZERO

27 Feb 2025 · 42 min
41:48

In this live‑coding tutorial Samuel Rezon builds the subscription (sign‑up) page of a SaaS application using Angular. He creates a reusable DynamicFormComponent that renders a multi‑step form based on a JSON configuration, covering two steps – administrator data and barbershop (company) data. The video shows how to scaffold a dedicated subscription module, define lazy‑loaded routes, and generate admin‑ and company‑detail components. Samuel integrates several third‑party tools: ngx‑mask for input masking, ngx‑nit/untilDestroy for automatic unsubscription, uuid for unique file paths, and Supabase storage accessed through a custom DownloadStoragePipe. He also builds a FormStorageDirective that syncs the form group with localStorage, ensuring data is not lost on page reload. A CEP (Brazilian postal code) autocomplete is added via the cep‑prompts library, automatically filling address fields and disabling them while the lookup is in progress. UI polish is achieved with ng‑zorro steps/cards, a custom mb‑icon directive that wraps Google Material icons, and various autofocus and accessibility tweaks. Throughout the session Samuel explains architectural decisions, refactors imported code from his own SaaS (Ministrali), fixes routing bugs, and demonstrates debugging of validation and rendering errors. The tutorial ends with a fully functional, dynamically generated, persisted, multi‑step subscription form ready for the next video where account creation will be implemented.

Chapters

More from Samuel

17:10
youtube.com

Como consegui uma vaga em São Francisco (visto e mudança pagos)

1w ago
11:43
youtu.be

The Stories: Samuel Rizzon

3mo ago
youtube.com

SAN FRANCISCO - VLOG #02 - PUENTES WEEK

4mo ago
youtube.com

O vídeo que eu nunca achei que fosse gravar: Minha DEMISSÃO da gringa

4mo ago
youtube.com

VLOG DE 1 SEMANA EM SAN FRANCISCO #01 - O SONHO DE TODO DEV

4mo ago
youtube.com

Codando a Git City e conversando sobre minha viagem à San Francisco

4mo ago
youtube.com

SPEEDRUN: Criando um projeto do zero usando Claude Code

6mo ago
youtube.com

Claude Mythos: o modelo que a Anthropic tem MEDO de soltar

6mo ago
youtube.com

🔴 CODANDO A GIT CITY ATÉ CHEGAR A R$1.000.000 | RECEITA R$5.660,34

6mo ago
youtube.com

Essa é a stack completa da Git City que aguentou mais de 100 mil usuários

6mo ago
youtube.com

🔴 CODANDO A GIT CITY ATÉ CHEGAR A R$1.000.000 | RECEITA R$5.363,93

6mo ago
See all content