maailma / kansa

Open-source convention member services
Apache License 2.0
17 stars 6 forks source link

Hugo & Raami should be refactored as express.js Router modules #57

Closed eemeli closed 6 years ago

eemeli commented 6 years ago

Keeping hugo and raami as complete express.js apps makes the system as a whole more complicated than it ought to be, and is not an easily extendable model to use for future work. Refactoring them as express.Router modules instead allows for better modularity and configurability.

It might also make sense to re-think the directory locations of the related database init scripts & tests.

eemeli commented 6 years ago

In preparation for this, 2e3b307 and 0f7e990 add tests for the /hugo API endpoints.