\section{Aufbau}

\begin{landscape}

\subsection{Klassendiagramm Backend}
Das Klassendiagramm zeigt alle für den Entwurf relevanten Klassen des Backends mit ihren öffentlichen Methoden.
Weiter zeigt das Diagramm die Aufteilung der Klassen in Pakete sowie schemenhaft dargestellte Verbindungen zu \Gls{db} und Webserver.

% \input{assets/diagrams/classdiagram.latex}
\includegraphics[width=\linewidth]{assets/diagrams/classdiagram}
\end{landscape}

\subsection{Sequenzdiagramme}

\subsubsection{Authentication \Gls{api}}
\subsubsection*{Registrierung \scriptsize{(\ref{a:register})}}
\includegraphics[width=\textwidth]{assets/diagrams/sequencediagram-register}
\subsubsection*{Passwort vergessen und zurücksetzen \scriptsize{(\ref{a:forgot}, \ref{a:resetpassword})}}
\includegraphics[width=\textwidth]{assets/diagrams/sequencediagram-forgotAndResetPW}

\subsubsection{Subscriptions \Gls{api}}
\subsubsection*{Abonnements hochladen \scriptsize{(\ref{a:uploadSubs})}}
\includegraphics[width=\textwidth]{assets/diagrams/sequencediagram-uploadSubscriptions}

\subsubsection*{Abrufen aller Abonnements \scriptsize{(\ref{a:getSubs})}}
\includegraphics[width=\textwidth]{assets/diagrams/sequencediagram-getSubscriptions}

\subsubsection{Episode Actions \Gls{api}}
\subsubsection*{Episode Actions hochladen \scriptsize{(\ref{a:uploadEpisodeActions})}}
\includegraphics[width=\textwidth]{assets/diagrams/sequencediagram-uploadEpisodeActions}

\subsubsection*{Abrufen aller Episode Actions seit einem Zeitpunkt \scriptsize{(\ref{a:getEpisodeActions})}}
\includegraphics[width=\textwidth]{assets/diagrams/sequencediagram-getEpisodeActionsOfPodcastSince}

\subsubsection*{Abrufen aller Episode Actions \scriptsize{(\ref{a:getEpisodeActions})}}
\includegraphics[width=\textwidth]{assets/diagrams/sequencediagram-getEpisodeActions}

\subsection{Komponentendiagramm Backend}
\includegraphics[width=\textwidth]{assets/diagrams/backendComponentDiagram}

\subsection{Verteilungsdiagram}
\includegraphics[width=\textwidth]{assets/diagrams/deployment}

\subsection{\Gls{db}-Modell}

\includegraphics[width=\textwidth]{assets/diagrams/db}

