This PR includes a major refactoring of the Node.js door opening backend. In particular, I tried to achieve a clear separation of the sub-components involved and to assign a clear responsibility to each one. See the documentation of each one to know more (or just ask me :P).
I also configured Babel for full ES6 support (the server should be started with npm start from now on) and ESLint for enforcing some code standards (run npm run lint for checking the standards and automatically fix some issues).
This PR includes a major refactoring of the Node.js door opening backend. In particular, I tried to achieve a clear separation of the sub-components involved and to assign a clear responsibility to each one. See the documentation of each one to know more (or just ask me :P).
I also configured Babel for full ES6 support (the server should be started with
npm start
from now on) and ESLint for enforcing some code standards (runnpm run lint
for checking the standards and automatically fix some issues).