How dev-sooraj-git/promiselane-frontend works
PromiseLane is a React frontend for project governance, guiding authenticated users from a dashboard into project and milestone management, including requirements and payment tracking. It also offers public project sharing and supporting account, feedback, and information pages. The route configuration and several API-backed workflows are visible in the excerpts; other major pages are retained based on the source index and file tree, without inferring their internal calls. The backend is a separately documented Laravel API.
Main entry points: App.jsx Route application · axios.js HTTP API client · ProjectDetail.jsx Project detail · AuthContext.jsx Auth state
Components 22
App and navigation
- Route application
src/App.jsx - Authenticated layout
src/components/Layout.jsx - HTTP API client
src/api/axios.js
Identity and account
- Auth state
src/context/AuthContext.jsx - Sign in
src/pages/Login.jsx - Registration
src/pages/Register.jsx - Settings
src/pages/Settings.jsx - Password recovery
src/pages/ForgotPassword.jsx - Password reset
src/pages/ResetPassword.jsx
Project governance
- Dashboard
src/pages/Dashboard.jsx - Project listing
src/pages/Projects.jsx - Project detail
src/pages/ProjectDetail.jsx - Requirements
src/components/RequirementSection.jsx - Payment tracking
src/components/PaymentModal.jsx - Milestone editor
src/components/MilestoneFormModal.jsx - Timeline
src/pages/Timeline.jsx
Sharing and support
- Public share view
src/pages/ShareView.jsx - Feedback
src/pages/Feedback.jsx - Product home
src/pages/Home.jsx - Privacy information
src/pages/Privacy.jsx
Other components
- Visitor or user
- PromiseLane API
Connections 24
- Visitor or user → Route application: navigates
src/App.jsx - Route application → Auth state: provides auth
src/App.jsx - Route application → Product home: routes to
src/App.jsx - Route application → Sign in: routes to
src/App.jsx - Route application → Registration: routes to
src/App.jsx - Route application → Public share view: routes to
src/App.jsx - Route application → Privacy information: routes to
src/App.jsx - Route application → Password recovery: routes to
src/App.jsx - Route application → Password reset: routes to
src/App.jsx - Route application → Authenticated layout: wraps protected routes
src/App.jsx - Route application → Dashboard: routes to
src/App.jsx - Route application → Project listing: routes to
src/App.jsx - Route application → Project detail: routes to
src/App.jsx - Route application → Timeline: routes to
src/App.jsx - Route application → Settings: routes to
src/App.jsx - Route application → Feedback: routes to
src/App.jsx - Auth state → HTTP API client: requests auth
src/context/AuthContext.jsx - HTTP API client → PromiseLane API: sends HTTP
src/api/axios.js - Project detail → Requirements: renders
src/pages/ProjectDetail.jsx - Project detail → Payment tracking: opens
src/pages/ProjectDetail.jsx - Project detail → Milestone editor: opens
src/pages/ProjectDetail.jsx - Requirements → HTTP API client: manages requirements
src/components/RequirementSection.jsx - Payment tracking → HTTP API client: records payments
src/components/PaymentModal.jsx - Dashboard → HTTP API client: loads dashboard
src/pages/Dashboard.jsx