This project was generated using Angular CLI version 19.0.2.
- A functional calculator built with Angular
- Supports basic operations: addition, subtraction, multiplication, and division
- Modern dark mode design
- Real-time input validation with error messages
- Responsive UI
To start a local development server, run:
ng serveOnce the server is running, open your browser and navigate to http://localhost:4200/. The application will automatically reload whenever you modify any of the source files.
Angular CLI includes powerful code scaffolding tools. To generate a new component, run:
ng generate component component-nameFor a complete list of available schematics (such as components, directives, or pipes), run:
ng generate --helpTo build the project run:
ng buildThis will compile your project and store the build artifacts in the dist/ directory. By default, the production build optimizes your application for performance and speed.
To execute unit tests with the Karma test runner, use the following command:
ng testFor end-to-end (e2e) testing, run:
ng e2eAngular CLI does not come with an end-to-end testing framework by default. You can choose one that suits your needs.
To deploy the application to a hosting platform, you can use the production build:
ng build --prodUpload the contents of the dist/ directory to your preferred hosting provider.
Ensure you have the following installed before working on the project:
- Node.js (v16 or later)
- Angular CLI (v14 or later)
- Git (optional, for version control)
To install Angular CLI globally:
npm install -g @angular/cliFor more information on using the Angular CLI, including detailed command references, visit the Angular CLI Overview and Command Reference page.
If you'd like to contribute to the project:
- Fork the repository.
- Create a new branch with your feature or fix.
- Submit a pull request.
Please make sure your code follows the project's style guide and includes appropriate tests for any changes.
This project is licensed under the MIT License. See the LICENSE file for more details.