Skip to content

sukhadajoshi13/HerSafar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš— HerSafar

🌸 Women Only Safe Carpooling Platform 🌸


🚺 Built exclusively for women β€’ πŸ›‘οΈ Admin-monitored β€’ 🌈 Safety-first by design
A Women-only ride sharing platform enabling secure ride coordination, group travel, and booking transparency under strict administrative supervision.


🌍 About the Project

HerSafar is a Women-only, full-stack PHP–MySQL web application designed to provide a secure, trusted, and well-monitored ride-sharing ecosystem for women.

The platform focuses on:

  • πŸ” Controlled access
  • πŸ‘οΈ Complete visibility
  • πŸ› οΈ Strong admin oversight

Ensuring Women can Coordinate rides, travel in groups, and communicate safely within a regulated environment.

πŸ”’ Access restricted strictly to women users only
πŸ›‘οΈ Every activity is monitored and controlled by administrators


🏷️ Tech Badges

Stack Backend Frontend Server Focus Status


🎯 Project Motivation

Women frequently face safety, trust, and accountability challenges while traveling.

HerSafar was built to address these concerns by:

  • 🚫 Eliminating anonymous participation
  • πŸ‘©β€πŸ‘©β€πŸ‘§ Enforcing women-only access
  • 🧾 Making every ride and booking traceable
  • πŸ›‚ Introducing admin supervision as a core system layer

HerSafar is not just a ride-sharing platform β€”
it is a regulated, safety-first mobility system.


πŸ“‘ Table of Contents

  • Features
  • Women-First Design Philosophy
  • Admin Support & Monitoring
  • Technology Stack
  • System Architecture
  • Data Flow
  • Database Design
  • Authentication & Authorization
  • Security & Privacy
  • Detailed Project Structure
  • Installation & Setup
  • Running the Application
  • Usage Flow
  • Screenshots
  • Scalability Considerations
  • Future Enhancements
  • Usage & License
  • Developers

✨ Features

πŸ‘© Women User Features

  • πŸ‘©β€πŸ’» Women-only registration and login
  • πŸš— Ride posting and booking
  • πŸ‘­ Women-only group travel
  • 🧾 Booking receipts and ride history
  • πŸ”‘ Profile and password management
  • πŸ’¬ Group communication and coordination

πŸ› οΈ Admin Support & Monitoring

  • πŸ‘€ Monitor and manage all registered users
  • 🚦 Supervise rides and bookings
  • πŸ“Š View booking confirmations and records
  • 🚫 Restrict or remove users violating rules
  • πŸ›‘οΈ Maintain platform integrity and safety

Admin supervision is the core safety pillar of HerSafar.


🌸 Women-First Design Philosophy

HerSafar follows three non-negotiable principles:

1️⃣ Exclusivity – Only women users can access the platform
2️⃣ Visibility – Every action is logged and auditable
3️⃣ Oversight – Admins actively supervise all activities

This approach reduces misuse and builds strong user confidence.


🧠 Technology Stack

Frontend


Backend


Database


Server & Tools


πŸ—οΈ System Architecture


Women Users (Browser)
↓
Frontend (HTML, CSS, JavaScript, Bootstrap)
↓
PHP Backend (Authentication & Business Logic)
↓
MySQL Database
↓
Admin Panel (Monitoring & Control)


πŸ”„ Data Flow

1️⃣ User sends request via browser
2️⃣ Frontend validates input
3️⃣ PHP backend processes business logic
4️⃣ Database stores/retrieves records
5️⃣ Admin panel monitors activities
6️⃣ Response returned to user


πŸ—„οΈ Database Design Overview

Core Tables

  • users
  • rides
  • bookings
  • groups
  • group_messages
  • admins
  • audit_logs

Each table includes timestamps, foreign keys, and constraints to ensure traceability.


πŸ” Authentication & Authorization

  • πŸ”‘ Session-based authentication
  • πŸ‘₯ Role-based access (User / Admin)
  • πŸšͺ Protected admin routes
  • 🧠 Server-side authorization

πŸ›‘οΈ Security & Privacy

  • 🚺 Women-only access enforcement
  • πŸ” Secure sessions
  • 🧹 Input validation and sanitization
  • πŸ“ Restricted file uploads
  • πŸ›‚ Admin-controlled moderation
  • 🚫 No public APIs exposed

πŸ“‚ Detailed Project Structure

HerSafar/
β”‚
β”œβ”€β”€ Frontend/                          # User-facing UI (PHP + HTML/CSS/JS)
β”‚   β”‚
β”‚   β”œβ”€β”€ index.php                      # Landing page
β”‚   β”‚
β”‚   β”œβ”€β”€ assets/
β”‚   β”‚   └── img/                       # Images, icons
β”‚   β”‚
β”‚   β”œβ”€β”€ includes/
β”‚   β”‚   β”œβ”€β”€ header.php                 # Common header
β”‚   β”‚   └── footer.php                 # Common footer
β”‚   β”‚
β”‚   β”œβ”€β”€ auth/
β”‚   β”‚   β”œβ”€β”€ login.php
β”‚   β”‚   β”œβ”€β”€ register.php
β”‚   β”‚   └── change_password.php
β”‚   β”‚
β”‚   β”œβ”€β”€ dashboard/
β”‚   β”‚   └── dashboard.php
β”‚   β”‚
β”‚   β”œβ”€β”€ profile/
β”‚   β”‚   └── profile.php
β”‚   β”‚
β”‚   β”œβ”€β”€ rides/
β”‚   β”‚   β”œβ”€β”€ ride.php
β”‚   β”‚   β”œβ”€β”€ post_ride.php
β”‚   β”‚   β”œβ”€β”€ view_ride.php
β”‚   β”‚   β”œβ”€β”€ ride_details.php
β”‚   β”‚   β”œβ”€β”€ join_ride.php
β”‚   β”‚   └── search_results.php
β”‚   β”‚
β”‚   β”œβ”€β”€ bookings/
β”‚   β”‚   └── booking_receipt.php
β”‚   β”‚
β”‚   β”œβ”€β”€ groups/
β”‚   β”‚   β”œβ”€β”€ groups.php
β”‚   β”‚   β”œβ”€β”€ create_group.php
β”‚   β”‚   β”œβ”€β”€ manage_groups.php
β”‚   β”‚   β”œβ”€β”€ group.php
β”‚   β”‚   β”œβ”€β”€ group_chat.php
β”‚   β”‚   └── group_message.php
β”‚   β”‚
β”‚   β”œβ”€β”€ static/
β”‚   β”‚   β”œβ”€β”€ about.php
β”‚   β”‚   └── contact.php
β”‚   β”‚
β”‚   └── admin/                         # Admin UI (restricted access)
β”‚       β”œβ”€β”€ dashboard.php
β”‚       β”œβ”€β”€ users.php
β”‚       β”œβ”€β”€ view_user.php
β”‚       β”œβ”€β”€ user_actions.php
β”‚       β”œβ”€β”€ rides_admin.php
β”‚       β”œβ”€β”€ view_ride.php
β”‚       β”œβ”€β”€ ride_actions.php
β”‚       └── logout.php
β”‚
β”œβ”€β”€ Backend/                           # Business logic & database operations
β”‚   β”‚
β”‚   β”œβ”€β”€ config/
β”‚   β”‚   └── dbcon.php                  # Database connection
β”‚   β”‚
β”‚   β”œβ”€β”€ auth/
β”‚   β”‚   β”œβ”€β”€ logout.php
β”‚   β”‚   β”œβ”€β”€ reset_password.php
β”‚   β”‚   β”œβ”€β”€ set_admin_password.php
β”‚   β”‚   β”œβ”€β”€ test_verify.php
β”‚   β”‚   └── make_hash.php
β”‚   β”‚
β”‚   β”œβ”€β”€ rides/
β”‚   β”‚   β”œβ”€β”€ apply_driver.php
β”‚   β”‚   β”œβ”€β”€ book_ride.php
β”‚   β”‚   β”œβ”€β”€ delete_ride.php
β”‚   β”‚   └── booking_actions.php
β”‚   β”‚
β”‚   β”œβ”€β”€ bookings/
β”‚   β”‚   β”œβ”€β”€ update_booking.php
β”‚   β”‚   └── download.php
β”‚   β”‚
β”‚   β”œβ”€β”€ groups/
β”‚   β”‚   β”œβ”€β”€ join_group.php
β”‚   β”‚   β”œβ”€β”€ post_group_message.php
β”‚   β”‚   └── generate_share.php
β”‚   β”‚
β”‚   β”œβ”€β”€ admin/
β”‚   β”‚   β”œβ”€β”€ create_admin.php
β”‚   β”‚   └── process_shared_link.php
β”‚   β”‚
β”‚   β”œβ”€β”€ core/
β”‚   β”‚   └── functions.php              # Common reusable backend logic
β”‚   β”‚
β”‚   β”œβ”€β”€ uploads/                       # Uploaded files
β”‚   β”‚
β”‚   β”œβ”€β”€ migrations/
β”‚   β”‚   └── hersafar.sql               # Database schema
β”‚   β”‚
β”‚   β”œβ”€β”€ debug/
β”‚   β”‚   β”œβ”€β”€ debug.php
β”‚   β”‚   β”œβ”€β”€ debug_post.php
β”‚   β”‚   └── debug_session.php
β”‚   β”‚
β”‚   └── includes/                     # Backend includes (if any)
β”‚
β”œβ”€β”€ Screenshots/                       # Project screenshots for README
β”‚   β”œβ”€β”€ login.png
β”‚   β”œβ”€β”€ dashboard.png
β”‚   β”œβ”€β”€ post_ride.png
β”‚   β”œβ”€β”€ booking.png
β”‚   β”œβ”€β”€ group_chat.png
β”‚   └── admin_dashboard.png
β”‚
β”œβ”€β”€ LICENSE
└── README.md



πŸš€ Installation & Setup

Prerequisites

  • PHP 8.0 or higher
  • MySQL Server
  • Apache Server
  • XAMPP

Here is a fully polished, GitHub-preview–perfect version of your section. Nothing is removed β€” wording is tightened, formatting is consistent, and flow is professional.

πŸ‘‰ Directly replace your section with this.


πŸš€ Installation & Setup

πŸ”§ Setup Steps

  1. Clone the repository

    git clone https://github.com/sakshinikam05/Hersafar.git
    
  2. Move the project to the server directory

    For XAMPP:

    xampp/htdocs/Hersafar
    

    For WAMP:

    wamp64/www/Hersafar
    
  3. Start required services

    • Start Apache
    • Start MySQL
  4. Create the database

    • Open: http://localhost/phpmyadmin

    • Create a database named:

      hersafar
      
  5. Import the database schema

    • Import the SQL file located at:

      Backend/migrations/hersafar.sql
      
  6. Configure database connection

    • Open:

      Backend/config/dbcon.php
      
    • Update credentials if required:

      $host = "localhost";
      $user = "root";
      $password = "";
      $dbname = "hersafar";

▢️ Running the Application

After completing the setup, open your browser and navigate to:

http://localhost/Hersafar

🎯 Usage Flow

πŸ‘© Women User Flow

  1. Register and log in
  2. Post or search for rides
  3. Book a ride securely
  4. Join women-only travel groups
  5. Communicate and coordinate within groups
  6. View booking receipts and ride history

πŸ›‚ Admin Flow

  1. Log in to the admin panel
  2. Monitor registered users
  3. Supervise rides and bookings
  4. Enforce platform rules and safety policies

πŸ–ΌοΈ Few Screenshots

πŸ” Login & Registration

Login Page Sign Up Page


πŸ” Change Password

Change Password


πŸš€ Landing Page

Landing Page Landing Page


πŸ“Š User Dashboard & Manage Booking

Dashboard Manage Booking


πŸš— Search & Book Ride

Post Ride Search Ride


πŸ› οΈ Admin Dashboard - Manage Users & Manage Rides

Admin Dashboard Admin Dashboard Admin Dashboard Admin Dashboard Admin Dashboard


πŸ’¬ Community - Group

Groups


🧾 Receipt Of Booking

Receipt


πŸ“ˆ Scalability Considerations

  • Migration to MVC framework (Laravel)
  • REST API introduction
  • OTP and SMS integration
  • Database indexing for performance
  • Android and iOS mobile applications

πŸš€ Future Enhancements

  • OTP-based verification
  • Live location sharing
  • SOS emergency alerts
  • Mobile applications (Android / iOS)
  • Advanced admin analytics dashboard

πŸ”’ Usage & License

This project is NOT open source.

  • ❌ Commercial use not permitted
  • ❌ Redistribution not permitted
  • ❌ Modification not permitted

Published strictly for academic, portfolio, and evaluation purposes.


🀝 Contributors

Sakshi
Sakshi
Sukhada
Sukhada

πŸ’– Built with care, collaboration, and a shared vision for women’s safety.


🌸 Final Note

HerSafar was built with care, responsibility, and purpose, keeping women’s safety at the center of every design and technical decision.

This project represents not only technical implementation, but also empathy-driven engineering, where technology is used to create safer and more inclusive digital spaces.

πŸ’— Built with patience πŸ›‘οΈ Designed with safety in mind 🌱 Created to make a positive impact

Thank you for taking the time to explore HerSafar.


About

HerSafar πŸš— is a women-only safe ride-sharing platform designed for secure ride posting, booking, and group travel. It focuses on safety, trust, and transparency through controlled access and admin monitoring πŸ’œ

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages