Skip to content

Conversation

@ecoates-bc
Copy link
Contributor

The goal of this PR is to split up the current code into smaller chunks, spread out over more files. It should make it easier to "drill down" into specific functions and classes.

I went off of this styleguide for Django: https://github.com/HackSoftware/Django-Styleguide and created two new modules: services and selectors. They both handle the "logic" functions (i.e. all the code that doesn't have to do with http routing and database representation) but the services handle writing to the database and the selectors handle non-trivial queries to the database.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant