Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dnyaneshwargiri/verso-gmbh
Coding Test of VERSO GmbH
https://github.com/dnyaneshwargiri/verso-gmbh
Last synced: about 1 month ago
JSON representation
Coding Test of VERSO GmbH
- Host: GitHub
- URL: https://github.com/dnyaneshwargiri/verso-gmbh
- Owner: dnyaneshwargiri
- Created: 2024-08-02T17:45:08.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-08-04T18:28:31.000Z (5 months ago)
- Last Synced: 2024-08-05T07:30:10.567Z (5 months ago)
- Language: TypeScript
- Size: 610 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Table of Contents
## About The Project
Fizz Buzz is a Simple Angular application which does below things.
```sh
i] prints 'Fizz' if number % 3 === 0
ii] prints 'Buzz' if number % 5 === 0
ii] prints 'Fizz Buzz' if (number % 3 === 0 && number % 5 === 0 )
```https://github.com/user-attachments/assets/994b27a4-17ce-4cdb-87c0-3052e939b26e
### Built With
Below are frameworks/ libraries used to bootstrap this project.
- ![Angular](https://img.shields.io/badge/angular-%2320232a.svg?style=for-the-badge&logo=angular&logoColor=%2361DAFB)
- ![Tailwind CSS.](https://img.shields.io/badge/tailwind-css-%2320232a.svg?style=for-the-badge&logo=tailwind-css&logoColor=%2361DAFB)
- ![Testing Library.](https://img.shields.io/badge/testing-library%2320232a.svg?style=for-the-badge&logo=testing-library)
- ![PNPM](https://img.shields.io/badge/pnpm-%232C8EBB.svg?style=for-the-badge&logo=pnpm&logoColor=white)
- ![Vite](https://img.shields.io/badge/vite-%23646CFF.svg?style=for-the-badge&logo=vite&logoColor=white)## Getting Started
Below are instructions on setting up your project locally.
### Prerequisites
- Node 22.5.0
- Anular 17.2.0
- PNPM 8.15.4
- Typescript": ^5.5.2
- Docker >25.0.3### Installation
1. Clone the repo
```sh
git clone https://github.com/dnyaneshwargiri/VERSO-GmbH.git
```
2. Install NPM packages
```sh
pnpm install
```
3. Compile Fizz-Buzz app```sh
pnpm build:prod
```4. Run Fizz-Buzz app
```sh
pnpm start /* production */
pnpm dev /* dev mode */
```## Test and Lint
Run test cases
```sh
pnpm test
```Check for linting Warnings, Error
```sh
pnpm lint
```## To run application via Docker Image
1. Build application for production
```sh
pnpm build:prod
```
2. Build Docker image
```sh
chmod +x docker.build.sh
```
```sh
./docker.build.sh production 3000
```
3. Run Docker image
```sh
docker run -p 3000:3000 fizz-buzz-app
```
4. Launch in Browser
```sh
localhost:3000
```Please be informed commits are intentionly not squashed.
## Open issue
No issues listed