Loading repository dataβ¦
Loading repository dataβ¦
asadatik / repository
π¦ ParcelPro β A full-stack MERN application with secure JWT authentication, role-based dashboards (Admin, Sender, Receiver), and real-time parcel tracking with status management.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
A full-stack parcel delivery management system built to streamline parcel creation, tracking, and delivery confirmation through role-based dashboards for Admin, Sender, and Receiver. The platform ensures secure operations, controlled status transitions, and real-time visibility across the entire delivery lifecycle.
ParcelPro is a smart parcel management system featuring three roles:
All user operations are protected with JWT authentication, validated with Zod, and structured using a clean, modular architecture. '
π Live Demo: Parcel Delivery Frontend
π» Repository (Back-End): GitHub
Credentials: Sender: email: asadatik709@gmail.com password: Pa$$w0rd!
Receiver: email: reciver@gmail.com password: Pa$$w0rd!
Admin: email:admin123@gmail.com password: Pa$$w0rd!
β
JWT-based Authentication (Access & Refresh Tokens)
β
Role-based Access Control (Admin / Sender / Receiver)
β
Secure Password Hashing using Bcrypt
β
Data Validation with Zod
β
Parcel Tracking with Status Logs
β
Modular, Maintainable Code Architecture
β
Axios Interceptor with withCredentials
β
Toast Notifications (React Hot Toast)
β
Pagination, Status Badges, and Modern UI Animations
Frontend:
React + TypeScript + TailwindCSS + ShadCN UI + RTK Query + React Hook Form + Zod + Framer Motion
Backend:
Node.js + Express + TypeScript + Mongoose + Zod + JWT + Bcrypt
Database:
MongoDB (Cloud via MongoDB Atlas)
backend/
β
βββ src/
β βββ app/
β β βββ modules/
β β β βββ auth/
β β β βββ user/
β β β βββ parcel/
β β βββ middlewares/
β β βββ utils/
β βββ config/
β βββ server.ts
β βββ index.ts
β
βββ package.json
frontend/
β
βββ src/
β βββ components/
β βββ pages/
β βββ layouts/
β βββ redux/
β βββ routes/
β βββ hooks/
β βββ utils/
β βββ main.tsx
β
βββ package.json
| Role | Capabilities |
|---|---|
| Admin | View all parcels, manage users, update parcel status |
| Sender | Create parcels, view & cancel own parcels |
| Receiver | View incoming parcels, confirm deliveries |
POST /auth/login β User loginPOST /auth/refresh-token β Refresh JWTPOST /auth/logout β Logout userPOST /auth/change-password β Change passwordPATCH /user/:id β Update user infoGET /user/all-users β Get all users (Admin only)GET /user/all-receiver β Get all receiver usersPOST /parcel/create β Create a new parcelGET /parcel/all β Get all parcels (Admin)GET /parcel/my β Get senderβs parcelsGET /parcel/incoming β Get receiverβs incoming parcelsPATCH /parcel/:id/status β Update parcel status (Admin)PATCH /parcel/:id/cancel β Cancel parcel (Sender)π§ Why This Design β Zod Validation ensures both backend & frontend data integrity β Modular folder structure keeps code maintainable β RTK Query + Axios combo provides full control + caching β ObjectId-based receiver linking ensures robust data relation
git clone https://github.com/asadatik/parcel-booking-system-frontend
cd parcel-booking-system-frontend
npm install
npm run dev # Development mode
npm run build # Compile TypeScript
npm run start # Run compiled app
π§° Future Enhancements π Admin analytics dashboard with charts
π Email notifications on parcel status update
β‘ Real-time status update via WebSocket
π§ͺ Add test cases with Jest & Supertest
##π¨βπ» Author : Asadujjaman Atik Full Stack Developer | Passionate about clean code & modern web apps