lexicongovernance / pluraltools-backend

Backend implementation of the plural voting tool.
https://demo.lexicongovernance.org/
GNU General Public License v3.0
3 stars 1 forks source link

Separate business logic from url handlers #294

Closed diegoalzate closed 5 months ago

diegoalzate commented 5 months ago

overview

we want it to be clear what receives and express request and returns an express response.

e.g getUser -> getUserHandler if it receives req and res