Standalone React web application for EPA Carriers clients. Track consignments, manage compliance documents, receive notifications, and contact support.
- React 18 + Vite
- Material UI
- React Router
- Axios (client API)
cd epa-client
npm install
cp .env.example .env # optional — edit API URL if needed
npm run devDev server runs at http://localhost:3001.
| Command | Description |
|---|---|
npm run dev |
Start development server |
npm run build |
Production build to dist/ |
npm run preview |
Preview production build |
| Path | Description |
|---|---|
/ |
Landing page |
/login |
Client sign in |
/register |
New client registration |
/forgot-password |
Request password reset |
/reset-password |
Set new password with token |
/consignments |
Shipment list (protected) |
/compliance |
Compliance centre (protected) |
/notifications |
Notifications (protected) |
/profile |
Account profile (protected) |
/support |
Support messages (protected) |
/change-password |
Change password (protected) |
/shipments/:id |
Shipment detail (protected) |
| Variable | Description |
|---|---|
VITE_API_URL |
Backend API base URL |
VITE_STAFF_PORTAL_URL |
Optional staff dashboard link for landing footer |
Build with npm run build and deploy the dist/ folder to any static host (Netlify, Vercel, S3, etc.). Include SPA fallback routing — a _redirects file is included for Netlify.