https://github.com/abbasmashaddy72/angular-test1
My first Angular Test Application
https://github.com/abbasmashaddy72/angular-test1
angular
Last synced: 5 months ago
JSON representation
My first Angular Test Application
- Host: GitHub
- URL: https://github.com/abbasmashaddy72/angular-test1
- Owner: abbasmashaddy72
- Created: 2023-11-02T07:03:58.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-09T11:29:20.000Z (over 2 years ago)
- Last Synced: 2023-12-09T12:27:55.178Z (over 2 years ago)
- Topics: angular
- Language: TypeScript
- Homepage:
- Size: 873 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Running an Angular Application
## Prerequisites
Before running your Angular application, make sure you have the following installed on your machine:
- [Node.js and npm](https://nodejs.org/): Angular requires Node.js and npm for package management.
- Angular CLI: Install globally via the following command:
```
npm install -g @angular/cli
```
## Clone the Repository
Clone your Angular project repository using Git:
```
git clone https://github.com/abbasmashaddy72/angular-test1.git
cd angular-test1
```
## Install Dependencies
Install the project dependencies using npm:
```
npm install
```
## Run the Application
- Use the Angular CLI to serve your application locally:
```
ng serve
```
- By default, this will start the development server, and you can access your Angular application in your web browser at [http://localhost:4200/](http://localhost:4200/).
## Additional Options
- To specify a different port, use the `--port` option:
```
ng serve --port 3000
```
- To enable live reload and watch for changes, use the `--open` option:
```
ng serve --open
```
- To build your application for production, use the following command:
```
ng build --prod
```
Feel free to reach out if you have any questions or encounter issues!