This repository shows how to make a restful api with .Net and Entityframework and an application that consumes the services of the api, made in Angular 5
In both cases unit tests are used.
- Demo - Free servers, the application may have problems. :P
The project is divided into 2 folders, backEnd (BE) and frontEnd (FE).
It is necessary to have already installed "visual studio 2017".
In the tool go to:
compile -> compile solution
And
F5 :)
Importante If the url is not "http://localhost:2355/"when you open the browser, please go to:
path/frontEnd/src/app/common/config.ts
and change url config.
In the tool go to:
test -> execute -> all
It is necessary to have installed:
- NodeJS - Install
- Angular CLI -
npm install -g @angular/cli
Open the console in the directory frontEnd and execute
npm install or npm i
once finished
ng serve
Navigate to http://localhost:4200/
Congratulations you already have the app working.
Open the console in the directory frontEnd and execute
ng test
-
Boehler German
Have fun breaking it up.
This project is licensed under the MIT License - see the LICENSE.md file for details