DEV Community

taiseen
taiseen

Posted on

NodeJs server side basic data flow diagram

Through the little working experience of server-side by nodejs, draw a basic data flow diagram, that represent a bird view of over all working system...

as a beginner point of view at 1st time learning + implementation of server side at nodejs with express framework & graphs that basic is becoming hard...

so i try to convert that basic setup as this diagram... hope its will helpful at future reference...

short info:-

index.js ==>
[file] all basic config for server...

routers ==>
[folder] allocate all API's endpoint...

middlewares ==>
[folder] protected API's calling by auth checking...

controllers ==>
[folder] API's endpoint logical function call...

models ==>
[folder] MongoDB data schema...

You can also quickly draw this kind of basic diagram at this website ==> Dojoit

Nodejs server side data flow | dojoit

Top comments (0)