A small Angular demo app used for local development and experimentation.
-
Install dependencies:
npm install
-
Start the development server:
npm run start
These commands expect Node.js and npm to be installed. The start script uses the workspace scripts defined in package.json (Angular CLI ng serve).
-
Assumptions:
- Node.js (v14+) and npm are available.
- You're working from the repository root where
package.jsonandangular.jsonlive. - The project uses Angular CLI for development and build tasks.
-
Known limitations:
- This README is intentionally brief. It does not cover CI/CD, production deployment, or environment-specific configuration.
- No external backend or database setup is documented here. The app relies on local services (in-memory or
localStorage) for persistence. - Browser support and polyfills follow the default Angular configuration and are not listed here.
-
Services live under
src/app/core/and encapsulate application state and logic:courses.service.ts— holds course-related business logic and exposes methods to read/update course data. Placing logic in a service keeps components thin and makes the behavior reusable and testable.local-storage.service.ts— a small wrapper around the browserlocalStorageAPI used for lightweight persistence (caching, preferences). Abstracting storage access centralizes serialization and error handling.models.ts— shared TypeScript interfaces/types used across the app to keep data shapes consistent.
-
Components (under
src/app/components/) are presentation-focused and obtain data from services via dependency injection or inputs. This pattern (service-driven state + presentational components) improves maintainability and makes it easy to scale to a global state manager (NgRx, etc.) later if needed.
If you want, I can expand this README with testing instructions, contribution guidelines, or add scripts for production builds.