Effective #hapi: Lessons learned leveraging the web-server framework
▻https://hackernoon.com/effective-hapi-lessons-learned-leveraging-the-web-server-framework-7f646
I keep coming back to Hapi for server-side #javascript projects, and every time I learn a little more and I discover how the framework has progressed. I recently built a project called Cellar Door, and I want to share some lessons I learned from that work.Summer of 2018 in Tysvær, Norway. Me, happily surrounded by family, nature, coffee and code.First insight, let the tests start the serverUp until now I have monkeyed around with running the web server in one terminal session, combined with automatically running tests in another terminal session. It has worked fine for all my projects, but it introduces complexity and bugs in all sorts of subtle ways. So I wondered, “maybe it could be improved?” To which, I had an un-ironic epiphany.Read on and I’ll explain (...)