Awesome
Mithril
API: https://github.com/Nebo15/mithril.api
Demo
Try it here: http://mithril-web.herokuapp.com/
Installation
Heroku One-Click Deployment
Docker
Dashboard can be deployed as a single container from nebo15/man.web Docker Hub.
Configurations
Application supports these environment variables:
Environment Variable | Default Value | Description |
---|---|---|
PORT | 8080 | Node.js server port. |
API_ENDPOINT | https://mithril-api-dev.herokuapp.com | Mithril API endpoint. |
SITEMAP_HOSTNAME | http://localhost:8080 | URL will be used in sitemap generated urls |
Docs
Dashboard works on top of Mithril management API.
Technologies
- React
- Redux
- Webpack
- Enzyme
- Karma
- Nightwatch
Workflow
Git flow
Every task should start a new branch. Branch should be named as task number what its corresponding. After finish work on a task, you need to create PR.
Testing
To contribute to the repository be ready to write some tests.
- Unit tests for business logic (we use Mocha)
- Integration tests for UI components (we use Enzyme)
- Acceptance tests for user stories (we use Nightwatch)
PR
Every task finishes with PR. Eslint, Stylelint, and tests are blocking PRs. To simplify PR review, we deploy every PR's branch automatically on Heroku.
License
See LICENSE.md.