Skellington-Closet / skellington

:sparkles::skull::sparkles: The skeleton for your bots
MIT License
64 stars 6 forks source link

refactors app into stateless services #30

Closed colestrode closed 7 years ago

colestrode commented 7 years ago

I refactored the app into stateless services. Keeping them stateless allows for multiple instances of Skellington to be run from within the same process.

The main index.js file is now responsible for formatting the config correctly and calling other services based on the state of the config. Everything else should have clear responsibilities.

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling ed6f57e63099ad3bef7e0c0a5c612ff965996f9a on refactor into 7a7ad676dda2ca2f3d4777d8522e970290bcf353 on 1.0.0-wip.

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling a2a0b0919149ccdf8ab984e1ef53551cf8412f94 on refactor into 7a7ad676dda2ca2f3d4777d8522e970290bcf353 on 1.0.0-wip.