Skip to content

gothinkster/aspnetcore-realworld-example-app

Repository files navigation

RealWorld Example App

ASP.NET Core codebase containing real world examples (CRUD, auth, advanced patterns, etc) that adheres to the RealWorld spec and API.

This codebase was created to demonstrate a fully fledged fullstack application built with ASP.NET Core (with Feature orientation) including CRUD operations, authentication, routing, pagination, and more.

We've gone to great lengths to adhere to the ASP.NET Core community styleguides & best practices.

For more information on how to this works with other frontends/backends, head over to the RealWorld repo.

How it works

This is using ASP.NET Core with:

This basic architecture is based on this reference architecture: https://github.com/jbogard/ContosoUniversityCore

Getting started

Install the .NET Core SDK and lots of documentation: https://www.microsoft.com/net/download/core

Documentation for ASP.NET Core: https://docs.microsoft.com/en-us/aspnet/core/

Docker Build

There is a 'Makefile' for OS X and Linux:

  • make build executes docker-compose build
  • make run executes docker-compose up

The above might work for Docker on Windows

Local building

  • It's just another C# file! dotnet run -p build/build.csproj

Swagger URL

  • https://localhost:5000/swagger

GitHub Actions build

Build and Test