This repository contains the project created in the Modern Angular Course.
This project follows modern Angular best practices, including:
- ✅ Standalone components (no
NgModule) - ✅ Modern Angular CLI defaults
- ✅ Signals-first mental model
- ✅ Built-in control flow (
@if,@for,@switch) - ✅ Modern testing setup
- ✅ Clean, explicit project structure
- 01: Getting Started
- 02: Environment Setup
- 03: Creating the First Component
Before running this project, make sure you have:
-
Node.js (LTS)
👉 Recommended installation:- macOS / Linux: nvm
- Windows: Chocolatey or nvm-windows
-
Angular CLI
npm install -g @angular/cli
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.
To 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 Vitest test runner, use the following command:
ng testAngular CLI does not come with an end-to-end testing framework by default. You can choose one that suits your needs.
For more information on using the Angular CLI, including detailed command references, visit the Angular CLI Overview and Command Reference page.