You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Students who use the skeleton are facing two basic problems while following this template:
Because the router modules have only ONE route each, it is not obvious how to create a module that has multiple routes within. This would be easily fixable just by adding a second route to users.js for example.
For some reason, since Knex was removed, we also lost the data abstraction layer. While there may not be a lot of need for it, putting everything in the router sets them for other challenges when doing this project as a team. Once team member may be working on routes and another on database queries, and with this architecture both of them would be working out of the same files, increasing the rate of conflicts.
These issues are only obvious since the skeleton was refactored for the new curriculum
The text was updated successfully, but these errors were encountered:
Students who use the skeleton are facing two basic problems while following this template:
Because the router modules have only ONE route each, it is not obvious how to create a module that has multiple routes within. This would be easily fixable just by adding a second route to users.js for example.
For some reason, since Knex was removed, we also lost the data abstraction layer. While there may not be a lot of need for it, putting everything in the router sets them for other challenges when doing this project as a team. Once team member may be working on routes and another on database queries, and with this architecture both of them would be working out of the same files, increasing the rate of conflicts.
These issues are only obvious since the skeleton was refactored for the new curriculum
The text was updated successfully, but these errors were encountered: