Coder Social home page Coder Social logo

coderslinkassignment's Introduction

Basic Clean Architecture Web Api

This project is an experiment trying to create a solution template with for Clean Architecture requirements.

Technologies and patterns used

  • Backend

    • Basic API with .NET 5
    • Clean Architecture
    • CQRS with MediatR
    • Validations with FluentValidation
    • AutoMapper
    • Entity Framework Core (but ist open to extension, e.g. InMemoryRepositories)
    • Swagger
    • MediatR Pipeline Validation Behaviour
    • Standard Format Response Data
    • Standard exceptions
    • Paging
  • Frontend

    • Angular Simple CRUD and nothing more (under construction)

Getting started

The easiest way to get started is using Visual Studio 2019+ or with dotnet run installing the .NET 5 SDK.

Database Migrations

1- Set CodersLinkAssignment.WebApi project as startUp project.

2- Set a valid connection string in appsettings.json.

3- Manually delete the entire Migrations directory

4- Set CodersLinkAssignment.Persistence project as default project in console and run the following commands

Add-Migration Initial
Update-Database

5- Go to CodersLinkAssignment.Aplication.Features.Customers.Commands.Seeder, there is dummy data.json, there ready to copy and paste over it /api/v{version}/Customer/{seed} endpoint, this will be useful for testing filters and paging.

Frontend is under construction ๐Ÿ—๏ธ๐Ÿšง๐Ÿ—๏ธ

coderslinkassignment's People

Contributors

mendozagit avatar

Watchers

James Cloos avatar  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.