Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rownakabdullahomi/swift_parcel_client_12
Designed to streamline logistics, it offers a feature-rich experience for admins, delivery personnel, and users alike. With role-based access control, real-time data insights, and modern design aesthetics, SwiftParcel ensures seamless parcel handling and delivery operations.
https://github.com/rownakabdullahomi/swift_parcel_client_12
axios context-api daisyui firebase-auth framer-motion jwt-authentication momentjs react react-hot-toast react-leaflet react-router-dom stripe-payments sweetalert2 tailwindcss tanstack-react-query
Last synced: 5 days ago
JSON representation
Designed to streamline logistics, it offers a feature-rich experience for admins, delivery personnel, and users alike. With role-based access control, real-time data insights, and modern design aesthetics, SwiftParcel ensures seamless parcel handling and delivery operations.
- Host: GitHub
- URL: https://github.com/rownakabdullahomi/swift_parcel_client_12
- Owner: rownakabdullahomi
- Created: 2025-01-25T05:52:30.000Z (19 days ago)
- Default Branch: main
- Last Pushed: 2025-02-05T12:16:24.000Z (8 days ago)
- Last Synced: 2025-02-05T12:28:29.044Z (8 days ago)
- Topics: axios, context-api, daisyui, firebase-auth, framer-motion, jwt-authentication, momentjs, react, react-hot-toast, react-leaflet, react-router-dom, stripe-payments, sweetalert2, tailwindcss, tanstack-react-query
- Language: JavaScript
- Homepage: https://swift-parcel-4a623.web.app
- Size: 1.78 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SwiftParcel - Client Side π
![SwiftParcel](https://i.ibb.co.com/Wpdy5kxX/Screenshot-1.png)
---
## π Live Project Links
π¨ **Frontend**: [SwiftParcel Frontend](https://swift-parcel-4a623.web.app)
βοΈ **Backend**: [SwiftParcel Backend](https://swift-parcel-server-five.vercel.app)---
## β¨ Project Overview
**SwiftParcel** is a **modern Parcel Management System** built using the **MERN stack**. It offers role-based access control for **Admins, Deliverymen, and Users**, ensuring efficient logistics management. With a sleek UI, real-time tracking, secure payments, and interactive dashboards, SwiftParcel simplifies parcel handling and delivery operations.
### π οΈ Technologies Used
- **Frontend**: React, Vite, Tailwind CSS, DaisyUI
- **State Management**: React Hooks, Context API
- **Authentication**: Firebase (Google, Email/Password), JWT
- **Payments**: Stripe
- **Maps**: Leaflet, React-Leaflet
- **Animations**: Framer Motion, Lottie React---
## π Key Features
### π **Authentication & Authorization**
- Google & Email/Password login via Firebase
- JWT token verification for secure routes
- Role-based access control (Admin, Deliveryman, User)### π¦ **Parcel Management**
- Place, update, and cancel orders
- Admin assigns orders to delivery personnel
- Deliverymen update order status (delivered/canceled)
- Users can track orders and provide feedback### π‘οΈ **Admin Dashboard**
- View real-time statistics (Total Users, Parcels Booked, Delivered)
- Assign roles (Admin, Deliveryman)
- Interactive map for tracking delivery locations### π³ **Payment Integration**
- Secure **Stripe Payment Gateway** for order payments### π¨ **User Experience Enhancements**
- Dark Mode toggle
- Beautiful 404 Error Page
- Smooth animations via Framer Motion & Lottie React
- Real-time notifications using React Hot Toast### πΊοΈ **Interactive Maps**
- View delivery addresses using Leaflet & React-Leaflet### π€ **File Upload**
- Upload profile images using ImgBB API---
## π Dependencies Used
```json
"dependencies": {
"@stripe/react-stripe-js": "^3.1.1",
"@stripe/stripe-js": "^5.5.0",
"@tanstack/react-query": "^5.64.1",
"axios": "^1.7.9",
"firebase": "^11.1.0",
"framer-motion": "^11.18.0",
"leaflet": "^1.9.4",
"lottie-react": "^2.4.0",
"moment": "^2.30.1",
"react": "^18.3.1",
"react-router-dom": "^7.1.1",
"react-hot-toast": "^2.5.1",
"react-leaflet": "^4.0.0",
"sweetalert2": "^11.15.10"
}
```---
## π How to Run the Project Locally
### 1οΈβ£ Prerequisites
Ensure you have **Node.js (v16+)** and **npm/yarn** installed.### 2οΈβ£ Clone the Repository
```sh
git clone https://github.com/your-username/Swift_Parcel_Client_12.git
cd Swift_Parcel_Client_12
```### 3οΈβ£ Install Dependencies
```sh
npm install # or yarn install
```### 4οΈβ£ Set Up Environment Variables
Create a `.env.local` file and add the following:```env
VITE_API_URL=https://swift-parcel-server-five.vercel.app
VITE_Payment_Gateway_PK=your-stripe-public-key
VITE_IMGBB_API_KEY=your-imgbb-api-key
```### 5οΈβ£ Run the Development Server
```sh
npm run dev # or yarn dev
```### 6οΈβ£ Open in Browser
Visit **[http://localhost:5173](http://localhost:5173)**---
## π Acknowledgments
Special thanks to **open-source libraries** and tools that made this project possible! π
---
## π§ Contact With Me for More
Feel free to explore and contribute to this repository. Happy coding!π
## π€ Thank You