Skip to content

About

An interpretation of DBK health insurance services

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

DbkTobiasHoppDe

This project was generated using Angular CLI version 21.2.24.

Development server

To start a local development server, run:

ng serve

Once 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.

Demo user cards

The dashboard imports the array in src/app/data/users.json and uses @for (user of users; track user.id) to render one app-user-card per user. Each card receives the current object through [user]="user"; inside the card, user() reads the input signal, so user().name accesses its name. IDs must be unique because Angular uses them to track cards.

Avatar paths are relative to the application base URL, such as assets/images/avatars/Gerrit-Rieckers.jpg. Add photos under src/app/assets/images/avatars and use null for users without a photo; the card displays the user's initial instead.

Code scaffolding

Angular CLI includes powerful code scaffolding tools. To generate a new component, run:

ng generate component component-name

For a complete list of available schematics (such as components, directives, or pipes), run:

ng generate --help

Building

To build the project run:

ng build

This 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.

Running unit tests

To execute unit tests with the Vitest test runner, use the following command:

ng test

Running end-to-end tests

For end-to-end (e2e) testing, run:

ng e2e

Angular CLI does not come with an end-to-end testing framework by default. You can choose one that suits your needs.

Additional Resources

For more information on using the Angular CLI, including detailed command references, visit the Angular CLI Overview and Command Reference page.

Custom Color Theme for Shad/CN

Generated via https://tweakcn.com/editor/theme

Theme token

npx shadcn@latest add https://tweakcn.com/r/themes/cmvbii15c000004l250vcf6ue

GitHub Actions

To add a deployment, you need to add the following variables to your GitHub repository's secrets.

  • DEPLOY_HOST: "serverxy.host.com".
  • DEPLOYMENT_USER: "userxyz".
  • DEPLOYMENT_PORT: "22".
  • DEPLOYMENT_PATH: "www/some-path/domain-folder".
  • DEPLOYMENT_KEY: "SOME_BASE_64_KEY".

Project icons

This project is using Lucide Angular

Lucide Angular Guide

import { Component } from '@angular/core';
import { LucideFileText } from '@lucide/angular'; // Import the Lucide icon component

@Component({
  selector: 'app',
  template: '<svg lucideFileText></svg>',
  imports: [LucideFileText],
})
export class App {}
import { Component, computed, signal } from '@angular/core';
import { LucideDynamicIcon, LucideCircleCheck, LucideCircleX } from '@lucide/angular';

@Component({
  selector: 'app',
  template: `<svg [lucideIcon]="icon()"></svg>`,
  imports: [LucideDynamicIcon],
})
export class App {
  protected readonly model = signal<boolean>(true);
  protected readonly icon = computed(() => (this.model() ? LucideCircleCheck : LucideCircleX));
}
<svg [lucideIcon]="icon()"></svg>

Test

About

An interpretation of DBK health insurance services

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages