Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/nish1013/fizzbuzz-app

Fizz Buzz
https://github.com/nish1013/fizzbuzz-app

Last synced: 29 days ago
JSON representation

Fizz Buzz

Awesome Lists containing this project

README

        

![CI](https://github.com/nish1013/fizzbuzz-app/actions/workflows/fizzbuzz.yml/badge.svg)
[![Coverage Status](https://coveralls.io/repos/github/nish1013/fizzbuzz-app/badge.svg)](https://coveralls.io/github/nish1013/fizzbuzz-app)
# fizzbuzz-app

## Fizz Buzz
### An application that performs the following:
- The application should print the number from 1 to 100.
- For multiples of three print “Fizz” instead of the number.
- For multiples of five print “Buzz” instead of the number.
- For numbers that are multiples of both three and five print “FizzBuzz”.
### Coding Requirements:
- Written in TypeScript using NodeJS
- Use of constructor injection using typescript-ioc
(https://github.com/thiagobustamante/typescript-ioc)
- Demonstrate SOLID principles
- Include unit tests using Mocha, Chai and ts-mockito
(https://github.com/NagRock/ts-mockito)
- A GitHub repository for the resulting application

### Running the App

1. Start the application:

```bash
npm start
```

### Running the tests

1. Run the tests:

```bash
npm test
```

## Contributing

Contributions are welcome! Feel free to submit issues, suggest improvements, or open pull requests.

## License

This project is licensed under the [MIT License](LICENSE).