Giter Club home page Giter Club logo

imageboard's Introduction

Imageboard

Imageboard API+UI example with using React + ASP.NET Core (with CQRS).

This project was heavenly inspired by Jason Taylor and his Clean Architecture project.

Technologies

API

  • .NET Core 3.1
  • ASP .NET Core 3.1
  • Entity Framework Core 3.1
  • MediatR
  • AutoMapper
  • FluentValidation
  • NUnit, FluentAssertions

UI

  • React 16.13
  • Material UI 4.9
  • Formik 2.1.4
  • Yup 0.28.5
  • React MDE 10.0
  • React Markdown 4.3
  • Material UI Dropzone 3.0
  • React FSLightbox 1.4

Database

This project uses SQlite as DB (just for easy setting up).

Database Migrations

If you wan to create a migration - use helper script .\src\AddMigration.ps1 - it calls dotnet ef under the hood with all apropriate parameters. Only one thing you need - specify the name, PS script will request it on running.

Overview

api/Imageboard.Domain

This project contains only entities, related to the domain area of application. It has no dependencies to other projects.

api/Imageboard.Application

This project contains application layer logic - it has dependencies on Imageboard.Domain project, but do not have any other dependecies. All application logic is presented here and divided into commands and queries using CQRS. This project also contains all abstractions, related to the infrastructure layer, but no implementations.

api/Imageboard.Infrastructure

This project contains implementations of DAL and application services, which are related to the system functions - like DateTimeService and FileService

api/Imageboard.Application.IntegrationTests

This project contains integration tests for all commands and queries with re-creation of real SQlite database for every run. Also, some tests which are manipulating with files, are presented here.

ui/

VS code project for UI using React as main UI library. To launch the project, run the following commands:

Install all dependencies:

npm install

Run the project:

npm start

License

This project is licensed with the MIT license.

imageboard's People

Contributors

denisgoriachev avatar

Stargazers

 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.