Giter Club home page Giter Club logo

dotnetapp's Introduction

DotNetApp

ASP.NET Core & React (TypeScript) based reference web app project.

Project architecture

Software architecture is based on the "Clean Architecture" defined by Uncle Bob:

image

Project hierarchy

The application is separated into five different subprojects. This is done to better endorse the Clean Architecture approach.

Client-App

  • Client-App project represents the user interface layer.
    • Utilizes API endpoints to consume business logic.
  • Built with React, TypeScript and Semantic UI.
    • React allows us to build user interfaces with modular and reusable components.
    • TypeScript introduces strong typing and better support for object-oriented programming.
    • Semantic UI is a framework for developing beautiful and responsive layouts easily.

API

  • API project represents the controller layer.
    • Has dependency on the Application layer.
    • Serves business logic to clients.

Application

  • Application project represents the business logic & use cases layer.
    • Has dependency on the Domain layer.
    • Has dependency on the Persistence layer.
    • Responsible for executing business logic.
    • All domain entities are accessible from application layer.
    • Uses Domain entities to query Persistence layer & database.

Domain

  • Domain project represents the business logic entities.
    • Our domain contains domain entities: classes that form the core of the business logic for our application.
    • Domain entities are also used to model and form the database and relations.

Persistence

  • Persistence layer is "separated" from the previous layers.
    • Has dependency on the Domain layer.
    • Has dependency on the Application layer.
    • Is used to query data from database.

Project development & debugging

The project consists of separate front-end and back-end implementations. These can be run and debugged separately.

Front-end

  • Start in debug mode:
    • Navigate to /Client-App and run "npm start"
    • In case of errors try running "npm i"

Back-end

  • Start in debug mode:
    • Navigate to /API and run "dotnet watch run"
    • In case of errors try running "dotnet restore"

dotnetapp's People

Contributors

olli1337 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.