GithubHelp home page GithubHelp logo

insightbigpurplebank's Introduction

Insight Big Purple Bank

The solution consists of the following 4 projects.

  1. InsightBigPurpleBank.Api
  2. InsightBigPurpleBank.ApiTests
  3. InsightBigPurpleBank.Domain
  4. InsightBigPurpleBank.Infrastructure

All the projects are built on .NET 6.0.

1. InsightBigPurpleBank.Api

This is an Asp.Net Core MVC project that contains the API endpoint controllers and HTTP middleware/pipeline setup.

There is only one controller having one endpoint "GetProducts".

2. InsightBigPurpleBank.ApiTests

This project contains unit tests for the solution. Currently, there tests only for GetProducts endpoint.

3. InsightBigPurpleBank.Domain

This project contains domain entities, enums and repository interfaces.

4. InsightBigPurpleBank.Infrastructure

This project contains imlpementation for repositories. Currently, the repository returns hardcoded data; however, it can easily be modified to integrate with relevant data sources.

Application Architecture

image

API Layer

API layer will work with interfaces defined in the Application Core at compile time and wouldn’t know about the concrete implementation types defined in the infrastructure layer. The implementation types would be wired up to the Application Core interfaces via dependency injection.

Infrastructure Layer

This layer would implement infrastructure layer Repositories and Services. Database / backend integration would be wired up here.

Application Core Layer

Application Core doesn’t have any dependencies on other layers and will contain the application’s Domain model and repository interfaces are at the center. Both API and the infrastructure layers depend on the Application Core.

Tests Layer

Application Core and API layers would be unit tested. ‘dotnet test’ and MS Unit would be used for unit testing.

insightbigpurplebank's People

Contributors

naveedkharadi avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.