How karina12d/group-workshop- works
Group Workshop is a small React mini-app collection with simulated login and conditional screen navigation. The main workflow is login, choose a menu item, then use a selected app screen; separate branches provide addition, a calculator, a validated form, and debounced Rick and Morty character search with detail cards and a modal. Edges reflect shown calls or README-described navigation; unsampled modules are represented only where the source index or README supports their role.
Main entry points: App.jsx Screen router · ApiSearch.jsx Character search · Sum.jsx Addition screen · FormScreen.jsx Validated form
Components 17
App navigation
- Screen router
src/App.jsx - Simulated login
src/pages/Login.jsx - App menu
src/pages/Menu.jsx - Menu options
src/model/menuOptions.js
Mini apps
- Addition screen
src/pages/Sum.jsx - Addition logic
src/utils/math.js - Calculator screen
src/pages/Calculator.jsx - Validated form
src/pages/FormScreen.jsx - Form schema
src/model/formSchema.js
Character search
- Character search
src/pages/ApiSearch.jsx - Debounce hook
src/hooks/useDebounce.js - Character API client
src/api/characterApi.js - Rick and Morty API
- Character detail modal
src/components/CharacterModal.jsx
Shared UI and logic
- Screen container
src/components/Screen.jsx - Shared form styles
src/styles/classes.js
Other components
- User
Connections 21
- User → Screen router: opens
README.md - Screen router → Simulated login: renders
src/App.jsx - Screen router → App menu: renders
src/App.jsx - App menu → Screen router: selects screen
README.md - App menu → Menu options: reads options
src/pages/Menu.jsx - Screen router → Addition screen: renders
src/App.jsx - Screen router → Calculator screen: renders
src/App.jsx - Screen router → Character search: renders
src/App.jsx - Screen router → Validated form: renders
src/App.jsx - Addition screen → Addition logic: calls
src/pages/Sum.jsx - Addition screen → Screen container: renders in
src/pages/Sum.jsx - Addition screen → Shared form styles: uses classes
src/pages/Sum.jsx - Calculator screen → Screen container: renders in
src/pages/Calculator.jsx - Validated form → Screen container: renders in
src/pages/FormScreen.jsx - Validated form → Form schema: validates with
src/pages/FormScreen.jsx - Validated form → Shared form styles: uses classes
src/pages/FormScreen.jsx - Character search → Screen container: renders in
src/pages/ApiSearch.jsx - Character search → Debounce hook: debounces query
src/pages/ApiSearch.jsx - Character search → Character API client: searches via
src/pages/ApiSearch.jsx - Character API client → Rick and Morty API: fetches characters
src/api/characterApi.js - Character search → Character detail modal: opens on selection
src/pages/ApiSearch.jsx