The repository consists of projects as below:
| # | Project Name | Project detail | location | Environment |
|---|---|---|---|---|
| 1 | WebApi | Asp.Net Core2 WebApi as backend | server folder | |
| 2 | WebApi.Test | Unit Test for webapi | test folder | |
| 3 | reactjs | reactjs in front end | client folder |
The overall objective of the applications :
> A user can Register
> Then the user can Login
> jwt authentication is used
> Once logged-in, user can do "CRUD" operation
Download/install
Within Visual Studio Code open a command terminal by pressing the computer keyboard buttons
Controland~Within the terminal, browse to folder location named as "server"
Restore the dependencies, type
dotnet restoreon the terminalRun the webapi project, type
dotnet runon the terminalWebapi [backend service] shall start running on port 5000
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 react.webapi.demo (front end application), type
npm starton the terminalShortly a browser shall open with url as
localhost:8080
For better experience please chrome browser
Within Visual Studio Code Open a new command terminal
Within the new terminal, browse to the folder named as "test"
To run the tests, type
dotnet teston the terminal
Having any trouble? Please read out this documentation or contact and to sort it out.