Giter Club home page Giter Club logo

node-clean-boilerplate's Introduction

node-clean-boilerplate

nodejs boilerplate that follows Clean Architecture principles

Clean Architecture ?

if you are not familiar with clean & its principles, following presentation plus docs of this repo could help you grasp some concepts. Clean Architecture Keynote

Project structure

src
 └ adapters                → presentation layer to external world, controllers, serializer (formatter) & routes
   └ controllers           → recieve request from routes, send response back, forward req to usecase
   └ serializers           → format/structurize output for frontend
 └ application             → app specific logic, usecases(orchestrate the flow), security
   └ security              → abstraction/interface for security & Auth
   └ usecase               → controls business flow, take cross entity actions
 └ domain                  → core business rules, entities
   └ entities              → core entities with business rules & constraints, i.e user, order
   └ repositories          → abstractions for database access calls
 └ infrastructure          → external libraries, frameworks, databases & tools implementations

Contributions

Please look into Issue Section to contribute to this boilerplate.

Inspirations

Repos

Readings

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.