Project showcases React.js frontend UI consuming data from the sql database which communicates using .Net Core by exposing Web Api endpoints (for Json output) supplemented by entity framework scaffolded models
Pre-requisites:
- .Net Core 2.2 SDK
- Visual Studio Code or Recommended - Visual Studio 2017 Community editon or later editor
Clone the current repository locally as
git clone https://github.com/NileshSP/aspnetcoreTransformersApp.git
Steps: using Visual Studio community edition editor
- Open the solution file (aspnetcoreTransformersApp.sln) available in the root folder of the downloaded repository
- Await until the project is ready as per the status shown in taskbar which loads required packages in the background
- Hit -> F5 or select 'Debug -> Start Debugging' option to run the project
Steps: using Visual Studio code editor
- Open the root folder of the downloaded repository
- Await until the project is ready as per the status shown in taskbar which loads required packages in the background
- Open Terminal - 'Terminal -> New Terminal' and execute commands as
cd aspnetcoreTransformersApp
&dotnet build
&dotnet run
sequentially OR- Hit -> F5 or select 'Debug -> Start Debugging' option to run the project
Once the project is build and run, a browser page would be presented with navigation menu options wherein Web Api's
option contains functionality related to data access from sql database
- aspnetcoreTransformersApp folder: contains frontend UI built using React.js(in ClientApp folder) and .Net Core Web Api endpoints
- aspnetcoreTransformersApp.Tests folder: unit tests for Web Api Endpoints
- aspnetcoreTransformersApp.sln solution file
- Readme.md file for project information