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 routes from functions to classes #537

Open
christroutner opened this issue Nov 26, 2019 · 1 comment
Open

Refactor routes from functions to classes #537

christroutner opened this issue Nov 26, 2019 · 1 comment
Labels
Ready Issue is actionable

Comments

@christroutner
Copy link

christroutner commented Nov 26, 2019

This YouTube video shows a design pattern uses ES6 Classes that make writing unit tests much easier:

https://www.youtube.com/watch?v=lE3RYnchHps

The scope of this Issue is to refactor the libraries in the routes folder from functions to classes. This should not change any end-user functionality, just the structure of the code.

@christroutner christroutner added the Ready Issue is actionable label Nov 26, 2019
@christroutner
Copy link
Author

I will create a feature branch, and implement this change for just the Insight Address library, to show off what the pattern would look like.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ready Issue is actionable
Projects
None yet
Development

No branches or pull requests

1 participant