August 2016
Intermediate to advanced
376 pages
6h 33m
English
Let's make some changes to the structure of directories in our application and prepare it to follow the Model-View-Controller design pattern.
I will list the necessary steps for this refactoring:
root project folder:serverserver folder:configroutesviews.config folder at this point; we will insert its contents later.error.js and index.js files from the chapter-01/views folder to the chapter-01/server/views folder.index.js and user.js files from the chapter-01/routes folder to the chapter-01/server/routes folder.Read now
Unlock full access