Skip to content

Ein paar inoffizielle Tools für die Nutzung im THW! Unter anderem ein Grundausbildungs-Quiz, ein Sprechfunk-Quiz, ein AGT-Quiz, ein CBRN-Quiz, eine Anwendung zum tracken des Finnentests für Atemschutzgeräteträger und eine interaktive Anwendung zur Berechnung des Elektro Spannungsfalls.

Notifications You must be signed in to change notification settings

Malte2036/thw-tools

Repository files navigation

THW Tools Monorepo

This monorepo contains all THW Tools applications and shared packages.

Structure

/thw-tools-monorepo
├── apps
│   ├── backend          # NestJS backend (thw-tools-backend)
│   ├── thw-tools        # SvelteKit main frontend (thw-tools)
│   └── inventar         # SvelteKit second frontend (thw-inventar)
└── packages
    └── web-components   # Shared component library

Getting Started

Prerequisites

Installation

# Install dependencies for all workspaces
pnpm install

Development

# Start all applications in development mode
pnpm dev

# Start individual applications
pnpm dev:backend     # Runs NestJS backend with --watch
pnpm dev:thw-tools   # Runs SvelteKit thw-tools frontend
pnpm dev:inventar    # Runs SvelteKit inventar frontend

Building

# Build all applications
pnpm build

# Build specific applications
pnpm build:backend
pnpm build:thw-tools
pnpm build:inventar

Common Commands

pnpm lint           # Run linting
pnpm test          # Run tests
pnpm format        # Format code
pnpm clean         # Clean build artifacts and node_modules

Working with Dependencies

# Add a dependency to a specific workspace
pnpm --filter <workspace-name> add <package-name>

# Add a development dependency
pnpm --filter <workspace-name> add -D <package-name>

# Add a dependency to all workspaces
pnpm add -w <package-name>

Using Shared Components

Import components from the shared component library using:

import { Button } from '@web-components/Button';

Workspace Management

This monorepo uses PNPM Workspaces and Turborepo for efficient dependency management and build optimization.

About

Ein paar inoffizielle Tools für die Nutzung im THW! Unter anderem ein Grundausbildungs-Quiz, ein Sprechfunk-Quiz, ein AGT-Quiz, ein CBRN-Quiz, eine Anwendung zum tracken des Finnentests für Atemschutzgeräteträger und eine interaktive Anwendung zur Berechnung des Elektro Spannungsfalls.

Topics

Resources

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •