How sania-firdose-apprikart/kitapi-certificate works
This is a React certificate lookup and download frontend. A visitor enters a child’s name; the form requests matching certificate data, and the app displays either a certificate-results screen or a not-found screen. Results can be downloaded from their supplied URLs. The shared holiday layout wraps the main screens; a loading screen also exists but is not connected in the sampled app flow. Relationships shown are limited to calls and references visible in excerpts or the source index.
Main entry points: App.jsx View router · CertificateForm.jsx Lookup form · CongratulationsScreen.jsx Certificate results · CertificateLayout.jsx Holiday layout
Components 14
App flow
- React entry
src/main.jsx - View router
src/App.jsx
Certificate access
- Lookup form
src/Components/CertificateForm.jsx - Certificate lookup
src/hooks/useFindCertificate.js - API client
src/lib/axios.js
Screens and layout
- Certificate results
src/Components/CongratulationsScreen.jsx - Not found screen
src/Components/SorryNotFound.jsx - Holiday layout
src/Components/CertificateLayout.jsx - Loading screen
src/Components/LoadingScreen.jsx
Other components
- Visitor
- Certificate API
- Certificate file host
- Browser download
- WhatsApp contact
Connections 16
- Visitor → React entry: opens app
src/main.jsx - React entry → View router: renders
src/main.jsx - View router → Lookup form: renders form
src/App.jsx - View router → Certificate results: renders results
src/App.jsx - View router → Not found screen: renders not-found
src/App.jsx - Lookup form → Certificate lookup: requests lookup
src/Components/CertificateForm.jsx - Certificate lookup → API client: sends requests
src/hooks/useFindCertificate.js - API client → Certificate API: calls API
src/lib/axios.js - Lookup form → View router: reports outcome
src/Components/CertificateForm.jsx - Certificate results → Certificate file host: fetches file
src/Components/CongratulationsScreen.jsx - Certificate results → Browser download: starts download
src/Components/CongratulationsScreen.jsx - Not found screen → WhatsApp contact: opens contact
src/Components/SorryNotFound.jsx - Lookup form → Holiday layout: uses layout
src/Components/CertificateForm.jsx - Certificate results → Holiday layout: uses layout
src/Components/CongratulationsScreen.jsx - Not found screen → Holiday layout: uses layout
src/Components/SorryNotFound.jsx - Loading screen → Holiday layout: uses layout
src/Components/LoadingScreen.jsx