Nodejs architectures

Clean architecture.

< 1 min read    09 May 2017    

  • read({filter, userInfo, latest?, stream?}) - ? is boolean. Not latest ? Search in cache. If latest, search in db bulk_read is multiple objects, using filters.

Functions - create, read, update, delete. CRUD

collections:
    name:               PC
    properties:        /  \
        query :     Q1      Q2
        db:
        entity:     res1    res2
        index:      D1        D2

    children:

post , profile, banner, orders children may not have results

Refer Uncle Bob’s article on clean architecture.

Some rights reserved.

Leave a Comment