https://github.com/martinwoodward/calculator
Demo project
https://github.com/martinwoodward/calculator
Last synced: about 1 month ago
JSON representation
Demo project
- Host: GitHub
- URL: https://github.com/martinwoodward/calculator
- Owner: martinwoodward
- License: mit
- Created: 2020-10-04T10:14:14.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-09-01T14:18:41.000Z (over 3 years ago)
- Last Synced: 2025-03-15T15:48:10.737Z (about 2 months ago)
- Language: JavaScript
- Size: 121 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Calculator.js: a node.js calculator
An example node.js project, including tests with mocha, that behaves like
a pocket calculator.The project contains a simple node.js application that exposes REST APIs
to perform arithmetic on integers, and provides a test suite with mocha
and chai. The `mocha-junit-reporters` package is included to provide XML
output that can be presented in a test coverage tool.To build:
1. `npm install` to install dependencies.
2. `npm test` to run Mocha and execute the unit tests.