EFForg / starttls-backend

STARTTLS Everywhere web backend and checker
https://starttls-everywhere.org/
Other
18 stars 6 forks source link

Move DB functions to DomainStore interface #209

Closed sydneyli closed 5 years ago

sydneyli commented 5 years ago

Part 2 of #207 ! Another clean-up part that future PRs will build on :) A small piece of abstracting away database function into smaller modules.

Let me know if this sort-of resembles what you had in mind for breaking up the DB interface.

sydneyli commented 5 years ago

Moved more logic from api to models~ including policyCheck and some of the logic around token redemption :)