Also included - a Docker MSSQL database.
This repo should have everything you need to launch a local Angular App and interact with the docker database via the .NET Core API.
To start up the app:
- Start the MSSQL Docker database. Medium article for more info. From the Docker Database directory, run:
# Build the database
docker build -t mssql:dev .
# Start the database
docker run \
-e 'ACCEPT_EULA=Y' \
-e 'SA_PASSWORD=Password1!' \
-e 'MSSQL_PID=Express' \
--name sqlserver \
-p 1433:1433 \
-d mssql:dev
- Start the .NET Core API. Medium Article for more info From the Heroes.API directory, run:
dotnet run
- Start the Angular app. From the Angular-Tour-of-Heroes directory, run:
ng serve --open