FoundersFounders / door-services

IoT project for the doorbell and door-open services here at FoundersFounders.
MIT License
14 stars 6 forks source link

Node backend refactoring #8

Closed ruippeixotog closed 8 years ago

ruippeixotog commented 8 years ago

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).