i-on-project / codegarten

i-on CodeGarten provides a system that aims to help with the management of GitHub repositories, in an academic context.
Apache License 2.0
4 stars 0 forks source link

[API] Remove logic from handlers #133

Open PTKay opened 3 years ago

PTKay commented 3 years ago

The logic of the requests should be implemented outside of the handler methods, in order to facilitate testing.

TiagoMMDavid commented 3 years ago

An idea to do this is by creating a services package that implements the logic of the system. This package should contain files that provide methods responsible for processing the system logic by communicating with the database and remote packages.