Skip to content

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

License

Notifications You must be signed in to change notification settings

boehlergerman/WebApi-Angular5

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome!

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

  • Demo - Free servers, the application may have problems. :P

Getting Started

The project is divided into 2 folders, backEnd (BE) and frontEnd (FE).

Prerequisites BE

It is necessary to have already installed "visual studio 2017".

Running Api

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.

Running the tests

In the tool go to:

test -> execute -> all

Prerequsites FE

It is necessary to have installed:

  • NodeJS - Install
  • Angular CLI - npm install -g @angular/cli

Running App

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.

Running the tests

Open the console in the directory frontEnd and execute

ng test

Authors

  • Boehler German

    Have fun breaking it up.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published