/SportsStoreApp

Based on the SportsStore Application built in the Book 'Essential Angular for ASP.NET Core MVC 3' by Adam Freeman

Primary LanguageC#MIT LicenseMIT

SportsStoreApp

Angular ASP.NET Core MVC 3
ClientApp-CI ServerApp-CI
Coverage Coverage
Quality Gate Status Quality Gate Status

Based on the SportsStore Application built in the Book 'Essential Angular for ASP.NET Core MVC 3 - A Practical Guide to Successfully Using Both in Your Projects' by Adam Freeman (Apress, 2019).

The Application is one part Angular and other part ASP.NET Core MVC 3.

Prerequisites

  • .NET Core SDK 3.1.x
  • Visual Studio 2019 or alternative editor
  • Node 12.x
  • Angular CLI 9.x

Getting started

  1. Clone the project

  2. Open the solution file SportsStoreApp.sln with Visual Studio 2019

  3. Right click the solution node on the Solution Explorer tool window and click on 'Restore Client-Side Libraries'

  4. Open a command prompt at the root of the project and execute the following

    cd ClientApp
    npm install
    cd ..
    cd src/SportsStore
    dotnet restore
    dotnet build
    dotnet run --project SportsStore.csproj
  5. Open https://localhost:5001 on your favorite web browser. It may take a while to start on first launch.

How to debug

Open the solution file and hit F5 to start a debug session. The ASP.NET Core engine will start the Angular Development Server automatically (go through Getting started section first).

Screen capture

SportsStore Home

License

MIT License

Copyright (c) 2020 Felipe Romero