Real(ish) demo using Angular with ASP.NET Core GraphQL and IdentityServer.
Based on the multi part tutorial series:
Part 1: Building an ASP.NET Core auth server using IdentityServer
Part 2: Angular app foundation with user signup and login features
- .NET Core 3.1
- Visual Studio Code
- Visual Studio 2019 Professional for Windows
- SQL Server Express 2016 LocalDB
- Node.js with npm
- Angular CLI
To build and run the solution:
Clone or create a template from this repository.
Use migrations to create the database as follows:
From the command line use the dotnet CLI to apply the migrations from each project's Infrastructure
folder.
FullStackJobs.AuthServer.Infrastructure> dotnet ef database update --context PersistedGrantDbContext
FullStackJobs.AuthServer.Infrastructure> dotnet ef database update --context AppIdentityDbContext
Build and run the FullStackJobs.AuthServer
project using your favorite IDE in VS2019, VS Code or VS for Mac. Optionally, lauch it from the command line using the CLI dotnet run
command. Ensure it is running at https://localhost:8787.
- Use
npm
to install depdendencies from `package.json'.
Spa> npm install
- Use the Angular CLI to build and launch the app on the webpack development server.
Spa> ng serve
Point your browser to https://localhost:4200 to access the application.