https://github.com/souravxdev/angular-counter-app
https://github.com/souravxdev/angular-counter-app
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/souravxdev/angular-counter-app
- Owner: souravxdev
- Created: 2025-04-16T09:25:40.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-30T11:26:14.000Z (about 1 year ago)
- Last Synced: 2025-09-05T17:55:29.294Z (9 months ago)
- Language: SCSS
- Homepage:
- Size: 452 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Counter App
- This is a simple counter application.
- There are two buttons named Increment & Decrement.
- By clicking on increment button the counter value increased by 1 and by clicking decrement button the counter value is decreased by 1.
- There is a status text, below the buttons displaying whether the number is positive, negative, or neutral.
- This project was generated using [Angular CLI](https://github.com/angular/angular-cli) version 19.0.5.
## Project Images



## Project Learnings & Challenges
In this project I have learned & applied,
- _interpolation_,
- _ngSwitch_ & _ngSwitchCase_ in _CommonModule_,
- _ngStyle_ and
- _ngClass_
of Angular.
## Getting Started
Follow these instructions to get a copy of the project up and running on your local machine for development and testing purposes.
### Prerequisites
Make sure you have the following installed on your system:
- **Node.js:** (Ideally the latest LTS version - check with `node -v`) [Download Node.js](https://nodejs.org/)
- **npm** (usually installed with Node.js - check with `npm -v`) or **yarn** (check with `yarn --version`) [Install Yarn](https://yarnpkg.com/getting-started)
- **Angular CLI:** (Install globally - check with `ng --version`)
```bash
npm install -g @angular/cli
# or
yarn global add @angular/cli
```
- **Git:** (for version control) [Download Git](https://git-scm.com/)
### Installation
1. **Clone the repository:**
```bash
git clone [repository URL]
cd [your-project-name]
```
2. **Install dependencies:**
Using npm:
```bash
npm install
```
or using yarn:
```bash
yarn install
```
## Development Server
To run the development server:
```bash
ng serve -o
```
## Contributions
Contributions are welcome! Feel free to open issues or submit pull requests.
## Contact
You can reach me at [sourav.seu.cse@gmail.com].