45 lines
583 B
Markdown
45 lines
583 B
Markdown
# Project Setup with Angular
|
|
|
|
## Getting Started
|
|
|
|
### **Prerequisites**
|
|
|
|
Make sure you have the following installed:
|
|
|
|
- Node.js (LTS version)
|
|
- npm (comes with Node.js)
|
|
- Angular CLI
|
|
|
|
### Install Angular CLI
|
|
|
|
```bash
|
|
npm install -g @angular/cli
|
|
```
|
|
|
|
---
|
|
|
|
## Create & Run Project
|
|
|
|
### Create a New Angular Project
|
|
|
|
```bash
|
|
ng new my-angular-app
|
|
```
|
|
|
|
### Navigate into the Project Directory
|
|
|
|
```bash
|
|
cd my-angular-app
|
|
```
|
|
|
|
### Start the Development Server
|
|
|
|
```bash
|
|
ng serve --open
|
|
```
|
|
|
|
The application will open automatically in your default browser at:
|
|
|
|
```
|
|
http://localhost:4200/
|
|
``` |