This project was generated with Angular CLI version 14.2.2.
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The application 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.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI Overview and Command Reference page.
-
- Creamos el proyecto con ng new ng14dot6
-
- Aceptamos el routing y el CSS
-
- Limpiamos el app.c.html
-
- Agregamos el CSS y JS de Bootstrap
-
- Agregamos un header de Bootstrap
-
- Creamos un componente llamado employess-list
-
- Creamos una interfaz tipo model para Employee
- 7.1 Para probar hacemos un listado de employees
###Pasos backend
-
- Crear proyecto webapi con net6
-
- Crear el modelo dentro de una carpeta llamada models
-
- Hacer la cadena de conexion
-
- Agregar la conexion al Program.cs
-
- Add-Migration "Initial Migration" en el P M console
-
- Update-Database en el P M console
-
- Hacer el controlador
-
- Configurar CORS
-
- Crear el servicio que consuma la api GET
-
- Consumir el servicio Angular