This is the client side of a personal experiment using AngularJS, Node.js & MongoDB. It has no functional interest.
It is a single page-webapp developed with AngularJS to discover the ecosystem, the tools & the best-practices around this tech:
- encapsulate features into components, themselves being cut into views, controllers, directives, filters
- unit test and automate as much as possible
Travis CI installs, builds and tests the project on each Github push, then deploys it on Divshot depending on the branch:
- any branch goes to developement
master
goes to staging- nothing goes automatically to production: I willingly want to keep this step manual.
Each of these environments calls a REST API on their respective serverside app deployment:
- client development env -> server development env
- client staging env -> server staging env
- client production env -> server production env
Other tools involved:
- Yeoman Angular; I modified the structure a bit after those Google recommandations
- Grunt
- Karma/Jasmine
- Divshot CLI
- ...