Giter Site home page Giter Site logo

uzair004 / node-clean-boilerplate Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 2.0 762 KB

Nodejs boilerplate inspired by Clean architecture and DDD

License: MIT License

JavaScript 100.00%
boilerplate-node boilerplate-template clean-architecture ddd-architecture nodejs

node-clean-boilerplate's Introduction

Hello there ๐Ÿ‘‹

  • ๐ŸŒฑ Iโ€™m currently learning Backend Technologies
  • ๐Ÿ‘ฏ Iโ€™m looking to collaborate on Backend Projects
  • ๐Ÿค” Iโ€™m looking for help with centering a div, (really!)
  • ๐Ÿ’ฌ Discuss Technology, Psychology & Business with me.
  • โšก Fun fact: I gain few drops of blood by helping others :D!


node-clean-boilerplate's People

Contributors

uzair004 avatar

Stargazers

 avatar

Watchers

 avatar

node-clean-boilerplate's Issues

Testing boilerplate code with database

Even though boilerplate code has been added. The database (sequelize) part added is yet to be tested.

Adding a user scenario will cover following non-testing flow:

  • repository layer
  • data access
  • sequelize models

Sequelize joins support

Calling methods in data access or repository layer may return different data if optional join parameters are passed (called include in sequelize) therefore dataaccess layer code needs to be updated to take that in consideration.

Also, returned data from Repo methods is passed to Domain Entity which may ignore irrelevant data i.e order data in user. That needs to be handled.

Documentation

Documentation required for:

  • Steps to create a new API
  • When to use this boilerplate
  • When Not to use this boilerplate
  • Why clean architecture

Sequelize transactions support

As sequelize & mysql in general rely on using transactions sometimes, therefore repository & data access layer methods may or maynot be provided with transactions.

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.