node app complete architecture