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.
- Host: GitHub
- URL: https://github.com/techysphinx/bharatkonnect
- Owner: techySPHINX
- License: other
- Created: 2024-11-14T13:17:32.000Z (6 months ago)
- Default Branch: master
- Last Pushed: 2024-12-24T08:01:00.000Z (4 months ago)
- Last Synced: 2025-02-10T15:23:33.408Z (3 months ago)
- Topics: google-maps-api, postgressql, react-native-app, stripe, tailwindcss, twilio-api, typescript
- Language: TypeScript
- Homepage:
- Size: 5.04 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.Md
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!