Prerequisites
Before you begin, ensure you have the following installed on your system:- Node.js: Version 20.x or later (LTS recommended)
- Angular CLI: Version 20.3.4
- npm, yarn, pnpm, or bun: Package manager of your choice
This project uses Angular 20.3.0 with TypeScript 5.9.2 and includes Tailwind CSS 4.1.14 for styling.
Getting Started
Install dependencies
Install all required dependencies using your preferred package manager:This will install all dependencies listed in
package.json, including:- Angular 20.3.0 framework
- Tailwind CSS 4.1.14
- Express for server-side rendering
- Testing tools (Karma, Jasmine)
Start the development server
Launch the Angular development server:The application will be available at
http://localhost:4200/. The development server includes hot module replacement, so changes to your code will automatically reload the browser.Project Structure
The project follows Angular’s standard structure:Configuration Files
angular.json
Defines the Angular workspace configuration, including build options, serve configuration, and test setup. Key configurations:- sourceRoot:
src/ - outputMode:
server(enables SSR) - prefix:
app(component selector prefix)
tsconfig.json
TypeScript compiler configuration with strict mode enabled:- target: ES2022
- strict: true
- experimentalDecorators: true
- Strict Angular compiler options enabled
package.json
Defines project metadata, dependencies, and scripts. See Building and Testing for available scripts.Development Workflow
Once the development server is running:- Access the application at
http://localhost:4200/ - Edit source files in the
src/directory - View changes automatically in the browser
- Check the console for compilation errors or warnings
Next Steps
- Learn about the build process
- Set up testing for your components
- Explore the project architecture