Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/guillaumefalourd/poc-cicd-herokuci

Poc of a factorial app for the building CI/CD workflow with Heroku CI the article below.
https://github.com/guillaumefalourd/poc-cicd-herokuci

heroku javascript poc

Last synced: 3 days ago
JSON representation

Poc of a factorial app for the building CI/CD workflow with Heroku CI the article below.

Awesome Lists containing this project

README

        

# poc-cicd-herokuci

Poc of a factorial app for the building CI/CD workflow with Heroku CI using [this article](https://dev.to/mwanjemike/build-a-ci-cd-pipeline-with-heroku-ci-3de9) (won't work if no billing method registered on Heroku).

## How to run

Run `npm start` at the repository `root` directory, then access the endpoints on your navigator (e.g: `http://localhost:3000/`)

Screenshot 2021-10-15 at 14 07 49

## How to test

Run `npm test` at the repository `root` directory:

```bash
> [email protected] test
> mocha *.test.js || true

Factorial test
✔ Factorial(0) = 1
✔ Factorial(1) = 1
✔ Factorial(5) = 120
✔ Factorial(171) = Infinity

4 passing (7ms)
```