Skip to content

Bank API with concurrency check on Bank Balance with ASP.NET Core and Entity Framework Core

Notifications You must be signed in to change notification settings

ahmad2smile/GutenBank

Repository files navigation

GutenBank

A Bank API in ASP.NET Core, Entity Framework Core & MS Server

Run

Run in Visual Studio or with dotnet cli.

Migrations

Project is Code First and using Local Db Instance with Visual Studio Db Tools.

If you want to use an separate Instance of MS Server Update the ConnectionString in appsettings.json

Then Run:

In Package Manager Console :

Update-Database

In dotnet cli:

dotnet ef database update

Refer: MS Doc

Testing

  1. Unit Tests Run GutenBank.Test
  2. E2E Tests Run GutenBank API & GutenBank.E2E Tester

E2E Testing is setup with custom implementation with random inputs for Concurrency Error with HTTP 409 using Console based UI with Konsole.

Stay in touch

License

Nest is MIT licensed.

About

Bank API with concurrency check on Bank Balance with ASP.NET Core and Entity Framework Core

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages