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

https://github.com/meetsharma121/easycab

πŸš– Built a secure taxi booking platform with React, Node.js & Firebase, ensuring 99.9% uptime with πŸ” QR-based driver verification. πŸ€– Integrated AI-driven face recognition for 100% accurate user authentication, following πŸ”’ CIA security principles.
https://github.com/meetsharma121/easycab

firebase nodejs reactjs

Last synced: 3 months ago
JSON representation

πŸš– Built a secure taxi booking platform with React, Node.js & Firebase, ensuring 99.9% uptime with πŸ” QR-based driver verification. πŸ€– Integrated AI-driven face recognition for 100% accurate user authentication, following πŸ”’ CIA security principles.

Awesome Lists containing this project

README

          

# πŸš– EasyCab - Advanced Ride Sharing Platform

A modern, secure taxi booking platform built with βš›οΈ React.js, 🟒 Node.js, and πŸ”₯ Firebase, featuring πŸ€– AI-driven face recognition and πŸ“ real-time tracking.

## ✨ Features

- πŸ€– AI-powered face recognition for 100% accurate user authentication
- πŸ” QR code-based driver verification system
- πŸ“‘ Real-time ride tracking with WebSocket integration
- πŸ’¬ 24/7 live chat support
- πŸ” Enterprise-grade security following CIA principles
- ⚑ 99.9% uptime guarantee
- πŸš— Multiple car type options
- πŸ‘€ User profile management
- πŸ“œ Booking history

## πŸ”§ Prerequisites

- 🟒 Node.js (v14 or higher)
- πŸ“¦ npm or yarn
- πŸ”₯ Firebase account
- 🌐 WebSocket server (for real-time features)

## πŸš€ Setup

1. Clone the repository:
```bash
git clone
cd easycab
```

2. Install dependencies:
```bash
npm install
```

3. Create a Firebase project and enable:
- πŸ”‘ Authentication
- πŸ“‚ Firestore
- πŸ–ΌοΈ Storage (for face recognition data)
- ☁️ Cloud Functions (for WebSocket support)

4. Update the Firebase configuration in `src/firebase.js` with your project credentials:
```javascript
const firebaseConfig = {
apiKey: "your-api-key",
authDomain: "your-auth-domain",
projectId: "your-project-id",
storageBucket: "your-storage-bucket",
messagingSenderId: "your-messaging-sender-id",
appId: "your-app-id"
};
```

5. Set up face recognition models:
- πŸ“₯ Download face-api.js models
- πŸ“ Place them in the `public/models` directory

6. Start the development server:
```bash
npm start
```
ScreenshotsπŸ“Έ

Screenshot 2025-04-03 at 2 52 54β€―PM
Screenshot 2025-04-03 at 2 53 51β€―PM
Screenshot 2025-04-03 at 2 53 37β€―PM
Screenshot 2025-04-03 at 2 53 14β€―PM

**The application will be available at** 🌍 `http://localhost:3000`.

## πŸ“‚ Project Structure

```
easycab/
β”œβ”€β”€ public/
β”‚ └── models/ # Face recognition models
β”œβ”€β”€ src/
β”‚ β”œβ”€β”€ components/
β”‚ β”‚ β”œβ”€β”€ Navbar.js
β”‚ β”‚ β”œβ”€β”€ Chat.js
β”‚ β”‚ └── FaceRecognition.js
β”‚ β”œβ”€β”€ contexts/
β”‚ β”‚ β”œβ”€β”€ AuthContext.js
β”‚ β”‚ └── ChatContext.js
β”‚ β”œβ”€β”€ pages/
β”‚ β”‚ β”œβ”€β”€ Home.js
β”‚ β”‚ β”œβ”€β”€ Login.js
β”‚ β”‚ β”œβ”€β”€ Register.js
β”‚ β”‚ β”œβ”€β”€ BookRide.js
β”‚ β”‚ └── Profile.js
β”‚ β”œβ”€β”€ services/
β”‚ β”‚ β”œβ”€β”€ faceRecognition.js
β”‚ β”‚ β”œβ”€β”€ qrCode.js
β”‚ β”‚ └── websocket.js
β”‚ β”œβ”€β”€ firebase.js
β”‚ β”œβ”€β”€ App.js
β”‚ β”œβ”€β”€ index.js
β”‚ └── index.css
β”œβ”€β”€ package.json
└── README.md
```

## πŸ› οΈ Technologies Used

- βš›οΈ React.js
- 🎨 Material-UI
- πŸ”₯ Firebase Authentication & Firestore
- πŸ€– face-api.js for face recognition
- πŸ“‘ WebSocket for real-time features
- 🏷️ QR Code generation and scanning
- πŸ—ΊοΈ Leaflet for maps
- πŸ’¬ Socket.io for chat functionality

## πŸ”’ Security Features

- πŸ€– AI-driven face recognition for user verification
- πŸ” QR code-based driver verification
- πŸ” End-to-end encryption for chat messages
- πŸ›‘οΈ CIA security principles implementation
- πŸ”— Secure WebSocket connections
- 🚫 Rate limiting and DDoS protection

## 🀝 Contributing

1. 🍴 Fork the repository
2. 🌱 Create your feature branch (`git checkout -b feature/AmazingFeature`)
3. πŸ“ Commit your changes (`git commit -m 'Add some AmazingFeature'`)
4. πŸ“€ Push to the branch (`git push origin feature/AmazingFeature`)
5. πŸ”„ Open a Pull Request

## πŸ“œ License

This project is licensed under the MIT License - see the LICENSE file for details.

πŸŽ‰ **Happy Coding!** πŸš€πŸ‘¨β€πŸ’»