Git Product home page Git Product logo

modular-starter-kit's Introduction

modular-starter-kits (a.k.a MSK)

The starter kits with entire modular approach to help remove boilerplate code in developing

Nuget packages

Modular Architecture

  • Module Dependency



Routers

Migration

dotnet ef migrations add InitialConfigDbMigration -c ConfigurationDbContext -o Migrations/ConfigDb
dotnet ef migrations add InitialPersistedGrantDbMigration -c PersistedGrantDbContext -o Migrations/PersistedGrantDb
dotnet ef migrations add InitDb  -c ApplicationDbContext  -o Migrations/AppDb

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :p

Licence

Code released under the MIT license.

modular-starter-kit's People

Contributors

thangchung avatar

Stargazers

 avatar Elyor Latipov avatar Hakkı Sağdıç avatar 403 avatar Cioclea Doru Octavian avatar Paritosh Baghel avatar JMV avatar Anderson Fernandes do Nascimento avatar Mario avatar Flavien MICHALECZEK avatar Mostafa F avatar Armand Paghent avatar Fabio Dias Rollo avatar  avatar Ashish Patel avatar

Watchers

 avatar  avatar

modular-starter-kit's Issues

Core: Security module

  1. We need to secure all the application layers like Enterprise Security API (ESAPI).
    https://github.com/convisoappsec/swingset-dotnet

  2. Otherwise, we will invest time to work with authorization in each feature (Clean Architecture). Reference to this project for huge authorization requirements, but basically, we can see at https://github.com/blowdart/AspNetAuthorizationWorkshop/blob/master/src/Step_7_Resource_Based_Requirements/Startup.cs

  3. Federated sign out also needs to invest time to have a look at
    https://brockallen.com/2016/02/09/federated-sign-out-and-identityserver3/
    https://brockallen.com/2016/02/08/single-sign-out-and-identityserver3/

Nice explanation about OAuth 2.0 + OpenID Connect

Core: Partially Update on Controller

        [HttpPatch("{id:int}")]
        public IActionResult PartiallyUpdate(int id, [FromBody] JsonPatchDocument<Thing> patchDoc)
        {
            if (patchDoc == null)
            {
                return BadRequest();
            }

            Thing existingEntity = _thingsRepository.GetSingle(id);

            if (existingEntity == null)
            {
                return NotFound();
            }

            Thing thing = existingEntity;
            patchDoc.ApplyTo(thing, ModelState);

            if (!ModelState.IsValid)
            {
                return BadRequest(ModelState);
            }

            Thing updatedThing = _thingsRepository.Update(id, thing);

            return Ok(updatedThing);
        }

https://github.com/damienbod/AngularWebpackVisualStudio/blob/master/src/AngularWebpackVisualStudio/Controllers/ThingsController.cs#L44

GraphQL: Batch requests

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.