How tercodemagang/frontend-zakki works
Invito is a web app for creating and sharing wedding invitations, with customer accounts, package selection, and transaction handling. The main journey runs through the routed app, which creates transactions through an API client; public invitation pages load invitation data by slug. The tree also includes dashboard and login screens and a substantial reusable UI kit. The README is empty, and some source is unsampled, so only visible or indexed connections are shown; dashboard/login usage is not inferred.
Main entry points: App.tsx App and purchase flow · api.ts API client · main.tsx React entry · InvitationPage.tsx Public invitation
Components 10
Invito application
- React entry
src/main.tsx - App and purchase flow
src/app/App.tsx - Public invitation
src/app/InvitationPage.tsx - Dashboard screen
src/app/components/Dashboard.tsx - Login screen
src/app/components/Login.tsx
Client services
- Registration validation
src/lib/validations.ts - API client
src/lib/api.ts
Reusable interface
- UI components
src/app/components/ui
Other components
- Visitor
- Backend API
Connections 7
- Visitor → React entry: opens app
- React entry → App and purchase flow: renders
src/main.tsx - App and purchase flow → Public invitation: routes to
src/app/App.tsx - App and purchase flow → API client: creates transaction
src/app/App.tsx - App and purchase flow → Registration validation: imports
src/app/App.tsx - Public invitation → API client: loads by slug
src/app/InvitationPage.tsx - API client → Backend API: sends HTTP requests
src/lib/api.ts