Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Refactor] Migrate logic in routes out of routes #235

Open
Willdotwhite opened this issue Jul 26, 2022 · 0 comments
Open

[Refactor] Migrate logic in routes out of routes #235

Willdotwhite opened this issue Jul 26, 2022 · 0 comments
Labels
api Issue specific to the API component

Comments

@Willdotwhite
Copy link
Collaborator

The business logic for the app is primarily in the app routes, which makes writing unit tests a complete pain.

Move the logic into a more appropriate location, with much less complex input (e.g. DTOs) in order to more easily test the output.

@Willdotwhite Willdotwhite added the api Issue specific to the API component label Jul 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Issue specific to the API component
Projects
None yet
Development

No branches or pull requests

1 participant