inotebook v0.0.0
TBD
(...tbd)
Overview
The application uses Node.js, a server-side JavaScript engine, and Polymer, a framework for creating web components.
Installation
$ git clone https://github.com/kgryte/nodebook.gitBefore running the application, install development dependencies
$ make installwhich installs node modules and bower components.
Run
To start the application server
$ npm startor, alternatively, from the top-level application directory
$ node ./bin/server.jsTo view the application in your local web browser, navigate to
http://127.0.0.1:7337Examples
...tbd.
Tests
Unit
To run units tests for both server- and client-side code,
$ make testAll new feature development should have corresponding unit tests to validate correct functionality.
Server
Server-side unit tests use the Mocha test framework with Chai assertions. To run the tests, execute the following command from the top-level application directory:
$ make test-serverClient
Unit tests are run via web component tester, which in turn uses the Mocha test framework with Chai assertions. To run the tests, execute the following command from the top-level application directory:
$ make test-uiTest Coverage
This repository uses Istanbul as its code coverage tool. To generate a test coverage report, execute the following command from the top-level application directory:
$ make test-covIstanbul creates a ./reports/coverage directory. To access HTML reports,
$ make view-covServer
To generate a test coverage report exclusively for server-side tests,
$ make test-server-covIstanbul creates a ./reports/coverage/server directory. To access an HTML version of the report,
$ make view-server-covClient
To generate a test coverage report exclusively for client-side tests,
$ make test-ui-covIstanbul creates a ./reports/coverage/ui directory. To access an HTML version of the report,
$ make view-ui-covContributing
Style Guide
JavaScript
All JavaScript development, both client- and server-side, should follow the style guide.
CSS
...tbd.
License
Copyright
Copyright © 2015. Athan Reines.
11 years ago