Currently everything (except the models) is in one JS file and everything from handling the request to database handling is done in one function per request.
This should be changed to a layered architecture with at least 2 layers (e.g. one for request handling & validation and one for database handling)
Currently everything (except the models) is in one JS file and everything from handling the request to database handling is done in one function per request.
This should be changed to a layered architecture with at least 2 layers (e.g. one for request handling & validation and one for database handling)