A secure, scalable, and role-based frontend for a Parcel Delivery System (similar to Pathao Courier or Sundarban). Built with React, TypeScript, Redux Toolkit, RTK Query, and Tailwind CSS, this app provides dashboards for Senders, Receivers, and Admins with seamless API integration.
👉 Client App: https://parcel-delevary-client.vercel.app
- Home, About, Contact
- Parcel Tracking Page
- Fully Responsive UI
- Register (Sender / Receiver)
- JWT-based login
- Role-based redirects
- Persisted sessions
- Logout
- Create parcel
- Cancel parcel
- Parcel history
- View incoming parcels
- Confirm delivery
- Delivery records
- Manage all parcels
- Manage users (block/unblock)
- Assign delivery personnel (optional)
- Tracking via unique tracking ID
- Status timeline (status, timestamp, updatedBy, note)
- Role-based navigation
- Global loaders & error handling
- Form validations
- Pagination, sorting, filtering
- Dashboard charts & overview cards
- Toast notifications
- Lazy-loading + skeleton loading
- React.js + TypeScript
- Redux Toolkit
- RTK Query
- React Router v7
- Tailwind CSS
- Node.js / Express.js
- MongoDB / Mongoose
- JWT Auth + bcrypt
src/
├─ assets/ # Images, icons
├─ components/ # Reusable components
├─ constants/ # App-wide constants
├─ hooks/ # Custom hooks
├─ lib/ # Helpers & utilities
├─ pages/ # Page components
├─ provider/ # Context / Provider
├─ redux/ # Slices + RTK Query API
├─ routes/ # Public & protected routes
├─ types/ # TypeScript types
├─ utils/ # Utility functions
├─ App.tsx
├─ main.tsx
├─ index.css
-
Clone the Repository
git clone https://github.com/nayeem-miah/parcel-delvey-client.git cd parcel-delvey-client -
Install Dependencies
bun install # or npm install -
Configure Environment Variables Create
.env:VITE_API_BASE_URL=<your_backend_api_url>
-
Run Development Server
bun dev # or npm run dev
| Role | Password | |
|---|---|---|
| Sender | sender@example.com | Pa$$w0rd! |
| Receiver | receiver@example.com | Pa$$w0rd! |
| Admin | admin.parcel@gmail.com | Nayeem123$ |
-
Fork the repo
-
Create a feature branch
git checkout -b feature/your-feature
-
Commit changes
git commit -m "Add new feature" -
Push to GitHub
git push origin feature/your-feature
-
Open a Pull Request
MIT License © 2025 MD Nayeem Miah