An open API service indexing awesome lists of open source software.

https://github.com/techysphinx/bharatkonnect

BharatKonnect is an innovative driver application designed specifically for the transportation and logistics industry. This app empowers drivers with real-time updates and a user-friendly interface, ensuring they stay informed throughout the entire delivery process.
https://github.com/techysphinx/bharatkonnect

google-maps-api postgressql react-native-app stripe tailwindcss twilio-api typescript

Last synced: 26 days ago
JSON representation

BharatKonnect is an innovative driver application designed specifically for the transportation and logistics industry. This app empowers drivers with real-time updates and a user-friendly interface, ensuring they stay informed throughout the entire delivery process.

Awesome Lists containing this project

README

        

# πŸš€ **End-to-End Logistics Solution**

***"Driving Innovation, Delivering Excellence"***

An advanced **transportation and logistics platform** developed to optimize fleet management, dynamic routing, geofencing, labor allocation, and more for the **Department of Posts**. Built with cutting-edge technologies like **React Native**, **FastAPI**, **PostgreSQL**, and **Google Maps**, this solution revolutionizes the logistics landscape.

---

## 🌟 **Features**

### 1⃣ **Fleet Management**

- Real-time vehicle tracking and utilization.
- Live status updates of fleet movement and driver activity.

### 2⃣ **Dynamic Routing**

- AI-powered route optimization for efficient delivery.
- Adaptive scheduling based on traffic and delays.

### 3⃣ **Space & Labor Optimization**

- Intelligent packing and resource allocation for cost reduction.
- Real-time monitoring of available capacity.

### 4⃣ **Geofencing Integration**

- Location-based alerts for better shipment control.
- Ensures compliance with safety protocols.

### 5⃣ **Portal Management**

- A central dashboard for logistics operations.
- Visualizes data with charts, metrics, and real-time alerts.

### 6⃣ **Multi-Role Authentication**

- Secure authentication for drivers, admins, and stakeholders using **JWT** and **Clerk**.
- OTP-based login via **Twilio**.

### 7⃣ **Payment Integration**

- Seamless payment processing using **Stripe API** for logistics services.

---

## πŸ› οΈ **Tech Stack**

### **Frontend**:

- **React Native (Expo)**: For building a robust and responsive driver app.
- **Typescript**: Strongly typed language for maintainable code.
- **Google Maps API**: For location visualization and geofencing.

### **Backend**:

- **FastAPI**: High-performance backend API development.
- **PostgreSQL**: Reliable and scalable database for logistics data.

### **Additional Integrations**:

- **Twilio**: OTP-based secure login and communication.
- **Stripe**: Payment gateway for secure transactions.

---

## πŸ—‚οΈ **Project Structure**

### **Backend** (`FastAPI`):

```
app/
β”œβ”€β”€ routes/ # API routes
β”œβ”€β”€ db.py # Database configuration
β”œβ”€β”€ models.py # ORM models
β”œβ”€β”€ schemas.py # Data validation schemas
β”œβ”€β”€ utils.py # Helper utilities
└── main.py # Application entry point
```

### **Frontend** (`React Native with Expo`):

```
client/
β”œβ”€β”€ src/
β”‚ β”œβ”€β”€ app/
β”‚ β”‚ β”œβ”€β”€ tabs/
β”‚ β”‚ β”œβ”€β”€ +not-found.tsx
β”‚ β”‚ └── _layout.tsx
β”‚ β”œβ”€β”€ components/ # Reusable UI components
β”‚ β”œβ”€β”€ constants/ # Configurations and constants
β”‚ β”œβ”€β”€ context/ # Context API definitions
β”‚ β”œβ”€β”€ hooks/ # Custom React hooks
β”‚ β”œβ”€β”€ lib/ # Library-specific logic
β”‚ β”œβ”€β”€ navigation/ # Navigation setup
β”‚ β”œβ”€β”€ services/ # API services
β”‚ └── utils/ # Helper utilities
β”œβ”€β”€ app.tsx # App entry point
β”œβ”€β”€ app.json # Expo configuration
β”œβ”€β”€ index.tsx # Main index file
β”œβ”€β”€ tsconfig.json # Typescript configuration
└── package.json # Dependency management
```

---

## πŸš€ **How to Run**

### 1⃣ **Clone the Repository**

```bash
git clone https://github.com/your-repo-link.git
cd your-repo-link
```

### 2⃣ **Setup Backend**

- Navigate to the `FastAPI` backend folder.
- Create a `.env` file with your environment variables (e.g., database URL, Twilio keys).
- Install dependencies:
```bash
pip install -r requirements.txt
```
- Run the server:
```bash
uvicorn main:app --reload
```

### 3⃣ **Setup Frontend**

- Navigate to the `React Native` frontend folder.
- Install dependencies:
```bash
npm install
```
- Start the development server:
```bash
npm start
```

---

## πŸ”™ **Key Screens in BharatKonnect**

---

### πŸ›ƒοΈ **GeoFence Management Page**
πŸ“ **GeoFence Screen**
- Manage and update geofence areas for warehouses.
- Ensure drivers pass through required geofences for better routing from source to destination.

---

### πŸ“Š **Admin Dashboard Page**
πŸ“‹ **Dashboard Screen**
- Get real-time notifications for fleet management.
- Generate **MIS Reports** and monitor **Driver Performance** efficiently.

---

### 🏠 **Home/Explore Page**
πŸ—ΊοΈ **Live Geofencing Map**
- Visualize fleet movement and coverage areas.
- Optimize routes based on space utilization and time constraints.

πŸ“¦ **Shipping Dashboard**
- Monitor **Total Tonnage**, **Remaining Capacity**, and **Expected Loads** for ongoing shipments.

---

### πŸš› **Trips Page**
πŸ“œ **Current and Past Trips**
- View details of current trips, next halts, and previous trips.

πŸ›‘ **Status Screen**
- Update trip statuses such as:
- **βœ… Delivered**, **⏳ Delayed**, **πŸ“ In-Route**, or **🚫 Unavailable**.

---

### πŸ”” **Monitoring & Alerts**
⚠️ **Real-Time Notifications**
- Get alerts for unexpected stops or delays.
- Understand the reasons for delays via **Flash Notifications** and detailed insights.

## πŸ† **Achievements**

- **Smart India Hackathon 2024** – **Runners-Up** under **PS 1753** by the Ministry of Communications.
- **Highly praised by industry experts** for innovation and execution.

---

***"This project isn’t just codeβ€”it’s a testament to our passion for innovation and problem-solving."***

**#ReactNative #FastAPI #PostgreSQL #LogisticsSolutions #Innovation #Stripe #Twilio #GoogleMaps #Typescript #HackathonProject**


### πš‚πš‘πš˜πš  πšœπš˜πš–πšŽ ❀️ πš‹πš’ πšœπšπšŠπš›πš›πš’πš—πš this πš›πšŽπš™πš˜πšœπš’πšπš˜πš›y!