Code Monkey home page Code Monkey logo

crud_application_netcore_ddd's Introduction

Crud - Gerenciamento de Produtos

Projeto Desenvolvido pra fins de Avaliação

Objetivo do Projeto:

Desenvolver uma aplicação Net Core 6.xxx implementando funcionanlidades conforme o DDD Domain Driven Design (DDD).

Recursos Ultilizados;

Net Core 6

Api Rest Full

Entity Framework Core

Boas Práticas na Construção de Apis

Testes Unitários com X-Unit

Conceitos do DDD Domain Driven Design (DDD)

Banco de Dados: MySQL e SQLite

Fluent Validator

Swagger Open Api

Intruções:

Execução do Projeto

1° Altere a Conection String do Mysql com base na sua instancia do Mysql, no arquivo appseting.json

Pra Criar a Migration MySql:

add-migration InicialMigration -Context ProdutosMysqlDbContext

Pra criar o script da Migration:

script-migration -Contex -Output ./scriptSQL/scriptInicial.sql

Aplicando Migration de Forma Padrão

update-database -Context ProdutosMysqlDbContext

Gerando Bundle Pra aplicar as Migration:

bundle-migration -Context ProdutosMysqlDbContext

bundle-migration -Context ProdutosMysqlDbContext

Pra Criar a Migration SqlLite:
add-migration InicialMigration -Context ProdutosSqlLiteDbContext

Pra criar o script da Migration:

script-migration -Contex -Output ./scriptSQL/scriptInicialSqlLite.sql

Aplicando Migration de Forma Padrão

update-database -Context ProdutosSqlLiteDbContext

Gerando Bundle Pra aplicar as Migration:

bundle-migration -Context ProdutosSqlLiteDbContext

bundle-migration -Context ProdutosSqlLiteDbContext

Execução do projeto:

O projeto pode ser executado no Visual estudio ou VsCode

crud_application_netcore_ddd's People

Contributors

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