- SQL SERVER 2017
- .NET Core 2.0 (VS Code)
- Node.js version 6.11.* or higher
- Download zip or git clone
- Import
database/schema.sql
$ sqlcmd -S localhost -U SA -i database/schema.sql
- Install .NET Core
- Install
Angular-CLI
$ npm install -g @angular/cli
- Install dependencies
$ npm install
- Build the Angular application
$ ng build
- .NET Core build then restore
$ dotnet build
$ dotnet restore
- Finally, run the server
$ dotnet run
Magic happens at http://localhost:5000/
<3
You should watch for the code changes in Angular 4 so you should use
$ ng serve --proxy-config proxy.config.json
Then open another terminal, you should also watch changes in c# code using
$ dotnet watch run
The angular app will be served at http://localhost:4200
While the c# server will be served at http://localhost:5000/
This project was generated with Angular CLI version 1.4.5.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.