Module: App

Main App Component Handles routing, state management for registered persons, and API communication via Axios.
Source:
Returns:
The main application component with routes
Type
JSX.Element

Methods

(async, inner) addPerson(person)

Add a person to the application state using API service. Delegates business validation (email uniqueness simulation) to the domain service.
Parameters:
Name Type Description
person Object Person object to add
Source:
Throws:
Propagates errors thrown by createUser
Type
Error