angular6-webapi
Login, token-authentication, CRUD operation with angular 6 and .net core2 webapi
Repository codebase
The repository consists of projects as below:
| # | Project Name | Project detail | location |
|---|---|---|---|
| 1 | WebApi | Asp.Net Core2 WebApi as backend | backend folder |
| 2 | client | angular 6 as front end | client folder |
Setup detail
Environment Setup detail
Download/install Dotnet core2.1 to run webapi project
Download/install Node to run the angular6-webapi [front end] application
Download/install Visual Studio Code to run/debug the applications
Download/install git bash and configure witin Visual Studio Code by putting
"terminal.integrated.shell.windows": "C:\\Program Files\\Git\\bin\\bash.exe"in the users setting.Please verify the location of thebash.exeand modify as per its locationIn Visual Studio Code, please install a C# extension
Project Setup detail
Please clone or download the repository from github
Create a folder and place the downloaded repository
Open Visual Studio Code and open the newly created folder where the repository is downloaded
(a) To start the backend webapi service
Within Visual Studio Code open a command terminal by pressing the computer keyboard buttons
Controland~Within the terminal, browse to folder location named as "backend"
Restore the dependencies, type
dotnet restoreon the terminalRun the webapi project, type
dotnet runon the terminalWebapi [backend service] shall start running on port 5000
(b) To start the front end application
Within Visual Studio Code Open a new command terminal
Within the new terminal, browse to the folder named as "client"
To restore the dependencies, type
npm installon the terminalNow in order to run the angular6-webapi (front end application), type
npm starton the terminalShortly a browser shall open with url as
localhost:5050
For better experience please chrome browser
Support or Contact
Having any trouble? Please read out this documentation or contact and to sort it out.




