How sachinakash01/iservesl-frontent works
iServeSL is a citizen-services web portal. The user enters through the welcome page, signs in or registers, then navigates service forms and request history; certificate submissions and account operations call backend APIs. The graph includes the documented route and component structure plus sampled API interactions. The README is empty, and unsampled content does not establish additional behavior, so those relationships are omitted.
Main entry points: App.jsx Route application · Sidebar.jsx Sidebar navigation · Welcome.jsx Welcome page · Dashboard.jsx Dashboard route
Components 32
Entry and accounts
- Route application
iServeSL/src/App.jsx - Welcome page
iServeSL/src/routes/Welcome.jsx - Landing sections
iServeSL/src/components/Hero.jsx - About section
iServeSL/src/components/About.jsx - Landing navigation
iServeSL/src/components/Navbar.jsx - Landing footer
iServeSL/src/components/Footer.jsx - Login
iServeSL/src/routes/Login.jsx - Registration
iServeSL/src/routes/Signup.jsx
Portal navigation
- Dashboard route
iServeSL/src/routes/Dashboard.jsx - Sidebar navigation
iServeSL/src/components/Sidebar.jsx - Dashboard overview
iServeSL/src/components/DashboardContent.jsx - Profile panel
iServeSL/src/components/Profile.jsx
Citizen services
- Grama service route
iServeSL/src/routes/GramaNiladhari.jsx - Grama certificate form
iServeSL/src/components/GramaNiladhariContent.jsx - Police service route
iServeSL/src/routes/Police.jsx - Police certificate form
iServeSL/src/components/PoliceContent.jsx
Requests and account
- Requests route
iServeSL/src/routes/Requests.jsx - Request history
iServeSL/src/components/RequestContent.jsx - Dashboard history list
iServeSL/src/components/HistoryList.jsx - Edit profile route
iServeSL/src/routes/EditProfile.jsx - Profile editor
iServeSL/src/components/EditProfileContent.jsx - Feedback route
iServeSL/src/routes/Feedback.jsx - Feedback form
iServeSL/src/components/FeedbackContent.jsx - User guide
iServeSL/src/routes/UserGuide.jsx - Guide content
iServeSL/src/components/UserGuideContent.jsx - Online support route
iServeSL/src/routes/OnlineSupport.jsx - Support content
iServeSL/src/components/OnlineSupportContent.jsx
Other components
- Citizen
- User API
- Grama service API
- Police service API
- Availability API
Connections 44
- Citizen → Route application: opens
- Route application → Welcome page: routes to
iServeSL/src/App.jsx - Route application → Login: routes to
iServeSL/src/App.jsx - Route application → Registration: routes to
iServeSL/src/App.jsx - Route application → Dashboard route: routes to
iServeSL/src/App.jsx - Route application → Grama service route: routes to
iServeSL/src/App.jsx - Route application → Police service route: routes to
iServeSL/src/App.jsx - Route application → Requests route: routes to
iServeSL/src/App.jsx - Route application → Edit profile route: routes to
iServeSL/src/App.jsx - Route application → Feedback route: routes to
iServeSL/src/App.jsx - Route application → User guide: routes to
iServeSL/src/App.jsx - Route application → Online support route: routes to
iServeSL/src/App.jsx - Welcome page → Landing sections: renders
iServeSL/src/routes/Welcome.jsx - Welcome page → About section: renders
iServeSL/src/routes/Welcome.jsx - Welcome page → Landing navigation: renders
iServeSL/src/routes/Welcome.jsx - Welcome page → Landing footer: renders
iServeSL/src/routes/Welcome.jsx - Login → User API: authenticates
iServeSL/src/routes/Login.jsx - Registration → User API: registers
iServeSL/src/routes/Signup.jsx - Dashboard route → Sidebar navigation: renders
iServeSL/src/routes/Dashboard.jsx - Dashboard route → Dashboard overview: renders
iServeSL/src/routes/Dashboard.jsx - Dashboard route → Profile panel: renders
iServeSL/src/routes/Dashboard.jsx - Dashboard overview → Dashboard history list: renders
iServeSL/src/components/DashboardContent.jsx - Grama service route → Sidebar navigation: renders
iServeSL/src/routes/GramaNiladhari.jsx - Grama service route → Grama certificate form: renders
iServeSL/src/routes/GramaNiladhari.jsx - Grama certificate form → User API: fetches phone
iServeSL/src/components/GramaNiladhariContent.jsx - Grama certificate form → Grama service API: submits and updates
iServeSL/src/components/GramaNiladhariContent.jsx - Police service route → Sidebar navigation: renders
iServeSL/src/routes/Police.jsx - Police service route → Police certificate form: renders
iServeSL/src/routes/Police.jsx - Police certificate form → User API: fetches phone
iServeSL/src/components/PoliceContent.jsx - Police certificate form → Police service API: submits and updates
iServeSL/src/components/PoliceContent.jsx - Police certificate form → Availability API: checks NIC
iServeSL/src/components/PoliceContent.jsx - Requests route → Sidebar navigation: renders
iServeSL/src/routes/Requests.jsx - Requests route → Request history: renders
iServeSL/src/routes/Requests.jsx - Request history → Police service API: reads and updates
iServeSL/src/components/RequestContent.jsx - Request history → Grama service API: reads and deletes
iServeSL/src/components/RequestContent.jsx - Edit profile route → Sidebar navigation: renders
iServeSL/src/routes/EditProfile.jsx - Edit profile route → Profile editor: renders
iServeSL/src/routes/EditProfile.jsx - Profile editor → User API: reads and updates
iServeSL/src/components/EditProfileContent.jsx - Feedback route → Sidebar navigation: renders
iServeSL/src/routes/Feedback.jsx - Feedback route → Feedback form: renders
iServeSL/src/routes/Feedback.jsx - User guide → Sidebar navigation: renders
iServeSL/src/routes/UserGuide.jsx - User guide → Guide content: renders
iServeSL/src/routes/UserGuide.jsx - Online support route → Sidebar navigation: renders
iServeSL/src/routes/OnlineSupport.jsx - Online support route → Support content: renders
iServeSL/src/routes/OnlineSupport.jsx