11# HAAPI React App
22
3- - [ HAAPI Type-0 SPA Client - Login Web App] ( https://curity.atlassian.net/wiki/spaces/ISC/pages/25067734/HAAPI+Type-0+SPA+Client+-+Login+Web+App ) @ Confluence
4-
53## Project & tools
64
7- Install packages with ` curity-cli t && npm i ` .
5+ Install packages with ` npm install ` .
86
97- React
108- Built with Vite
@@ -52,14 +50,14 @@ To test the updates, enable the API-driven UI in the Identity Server instance an
5250
5351** Features:**
5452- Catches JavaScript errors anywhere in the component tree
55- - Displays user-friendly error messages with retry functionality
53+ - Displays user-friendly error messages with retry functionality
5654- Prevents entire application crashes
5755- Includes error reporting for debugging
5856
5957
6058## Folder Structure
6159
62- Inspired by the Domain Driven Design approach, this project's folder structure is organized by 2 dimensions/levels:
60+ Inspired by the Domain- Driven Design approach, this project's folder structure is organized by 2 dimensions/levels:
6361
6462### ** Dimension 1: Subdomain/Feature**
6563- ** First level folders** represent different ** subdomains or features** the app implements
@@ -76,7 +74,7 @@ Within each subdomain, code is organized by these technical layer types:
7674- ** Contains** : Business logic components that connect to data sources. "Smart" components that manage state and side effects
7775- ** Examples** : Components that handle authentication flows, form submissions, API calls
7876
79- #### ** ` ui/ ` **
77+ #### ** ` ui/ ` **
8078- ** Purpose** : Presentational components only
8179- ** Contains** : "Dumb" components focused on rendering. No business logic, just UI rendering based on props
8280- ** Examples** : Buttons, input fields, layout components, styled elements
0 commit comments