% !TEX root = Projektdokumentation.tex
\section{Anhang}

\subsection{Implementierungsbeispiele}
\label{app:CodeSchichten}

\subsubsection{Frontend-Schicht: Angular Component}
\label{app:FrontendComponent}
\lstinputlisting[language=C, caption={Angular TypeScript Component - Coinflip Game}]{Listings/CoinflipComponent.ts}

\clearpage

\subsubsection{Controller-Schicht: Spring Boot REST Controller}
\label{app:ControllerSchicht}
\lstinputlisting[language=java, caption={Spring Boot REST Controller - Coinflip}]{Listings/CoinflipController.java}

\clearpage

\subsubsection{Service-Schicht: Business Logic}
\label{app:ServiceSchicht}
\lstinputlisting[language=java, caption={Service-Klasse mit Geschäftslogik - Coinflip}]{Listings/CoinflipService.java}

\clearpage

\subsubsection{Persistierung-Schicht: JPA Entity}
\label{app:PersistierungSchicht}
\lstinputlisting[language=java, caption={JPA Entity - Benutzer}]{Listings/UserEntity.java}

\clearpage

\subsubsection{Konfiguration: Application Properties}
\label{app:Konfiguration}
\lstinputlisting[caption={Spring Boot Anwendungskonfiguration}]{Listings/application.properties}

\clearpage
