Chuyma notes es una PWA que esta enfocada para tomar notas del corazón, es mi forma de hacer conciente mi corazón.
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Run ng generate component component-name
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module
.
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory.
Run ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.
I used the official documentation to set up, you can use it here
What it will ask you to do is:
- Install the
ng cli
- Create a new project
- Start the server
They have 3 important things:
- styles (CSS)
- template (HTML)
- class (TS): Handles data and funtionality
- Use ngFor to repeat a tag that traverses a list
- ngIf to create only if condition is met
- Interpolation {{ }}
- Property binding [ ] and template expression
- (click)="myfunction()" around events inside the template tags
- @Component decorator
- Export the class
- Write the functionality
- @Input property value passes from parent
- @Output and Event Emitter
- 30 mins la app esta corriendo
- 60 mins creo mi primer componente localmente
- 60 mins termino de darle estilos