How I write backends

https://github.com/fpereiro/backendlore/blob/master/readme.md
Very nice detailed set of guidelines for a scalable node backend