SaulMoro / poc-angular-pwa-ngrx-rtk-redux-toolkit-formly

PoC Angular + PWA + NgRx + RTK (Redux Toolkit) + Router State + TailwindCSS + Formly
https://poc-angular-rick-morty.web.app
MIT License
13 stars 3 forks source link
angular angular-material angular11 dark-mode formly google-analytics ngrx ngrx-router-state pwa redux redux-toolkit rickandmortyapi router-state router-store rtk seo tailwindcss transloco-localize-router typescript

PoC Angular + PWA + NgRx + RTK (Redux Toolkit) + Router State + TailwindCSS + Formly

Demo of project

Table of Contents

Quick Start

  1. Run npm i
  2. Run npm run start

Description

PoC of an Angular project with:

Angular Core

State Management

Other

Code scaffolding

# Create Lazy Feature
> ng g module features/(nombre-feature) --module [app | parent-module-name] --route (route-name)

# Create Data-Access of a Feature (Not Shared)
> ng g module features/(nombre-feature)/data-access-(state-name) --module features/(nombre-feature-padre)
> ng g feature features/(nombre-feature)/data-access-(state-name)/+state/(StateName) -m features/(nombre-feature)/data-access-(state-name) --creators --api
> ng g service features/(nombre-feature)/data-access-(state-name)/services/(service-name)
> ng g interface features/(nombre-feature)/data-access-(state-name)/models/(model-name) model

# Create Shared Data-Access
> ng g module shared/data-access-(state-name) --module shared
> ng g feature shared/data-access-(state-name)/+state/(StateName) -m shared/data-access-(state-name) --creators --api
> ng g service shared/data-access-(state-name)/services/(service-name)
> ng g interface shared/data-access-(state-name)/models/(model-name) model

# Misc
> ng g component features/(nombre-feature)/containers/(container-name)
> ng g component features/(nombre-feature)/components/(component-name)
> ng g service features/(nombre-feature)/services/(service-name)
> ng g interface features/(nombre-feature)/models/(model-name) model

Contact

Saúl Moro Gómez smoro@atsistemas.com