dsamador / ng14dot6

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ng14dot6

This project was generated with Angular CLI version 14.2.2.

Development server

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.

Code scaffolding

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.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

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.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI Overview and Command Reference page.


Pasos frontend

    1. Creamos el proyecto con ng new ng14dot6
    1. Aceptamos el routing y el CSS
    1. Limpiamos el app.c.html
    1. Agregamos el CSS y JS de Bootstrap
    1. Agregamos un header de Bootstrap
    1. Creamos un componente llamado employess-list
    1. Creamos una interfaz tipo model para Employee
    • 7.1 Para probar hacemos un listado de employees

###Pasos backend

    1. Crear proyecto webapi con net6
    1. Crear el modelo dentro de una carpeta llamada models
    1. Hacer la cadena de conexion
    1. Agregar la conexion al Program.cs
    1. Add-Migration "Initial Migration" en el P M console
    1. Update-Database en el P M console
    1. Hacer el controlador
    1. Configurar CORS
    1. Crear el servicio que consuma la api GET
    1. Consumir el servicio Angular

About


Languages

Language:TypeScript 51.3%Language:C# 23.5%Language:HTML 19.8%Language:JavaScript 5.1%Language:CSS 0.3%