Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

Β 

History

5 Commits

Folders and files

Repository files navigation

🌐 Web Play Store

A complete full-stack web application for managing and distributing web apps β€” similar to the Google Play Store. Built with PHP, MySQL, HTML5, CSS3, and Vanilla JavaScript.
Responsive, lightweight, and easy to deploy.


License: MIT PHP MySQL

πŸš€ Highlights

  • Clean, modern UI with responsive design (mobile & desktop)
  • Full admin dashboard for app and user management
  • Secure authentication and basic security measures
  • File uploads for app icons and packages with validation
  • Real-time download tracking

πŸ“‹ Table of Contents


✨ Features

πŸ‘₯ User Features

  • Browse apps by category
  • Search functionality
  • View app details (description, version, size, downloads)
  • Download / install apps
  • Responsive design for mobile & desktop
  • Clean, modern UI

πŸ› οΈ Admin Features

  • Secure admin login system
  • Dashboard with statistics
  • Add new apps with file uploads
  • Edit existing apps
  • Delete apps
  • Manage users
  • Real-time download tracking

πŸ“‹ Requirements

  • PHP 7.0 or higher
  • MySQL 5.6 or higher
  • Apache Web Server (XAMPP / LAMP / WAMP)
  • Modern web browser

πŸ”§ Installation

Step 1 β€” Extract Files

Extract the web-playstore folder to your web server directory:

  • XAMPP: C:/xampp/htdocs/
  • WAMP: C:/wamp/www/
  • LAMP: /var/www/html/

Step 2 β€” Create Database

  1. Open phpMyAdmin: http://localhost/phpmyadmin
  2. Click New to create a database
  3. Name it: web_playstore
  4. Click Import
  5. Choose database.sql from the project
  6. Click Go to import

OR run the SQL directly:

  • Open database.sql
  • Copy all SQL code
  • Paste into phpMyAdmin SQL tab and execute

Step 3 β€” Configure Database Connection

Edit includes/db.php if needed (default settings work for XAMPP):

define('DB_HOST', 'localhost');
define('DB_USER', 'root');
define('DB_PASS', '');
define('DB_NAME', 'web_playstore');

Step 4 β€” Set Permissions

Make sure the uploads/apps/ folder is writable:

  • Windows: Right-click folder β†’ Properties β†’ Security β†’ Allow "Write"
  • Linux: chmod 755 uploads/apps/

Step 5 β€” Access the Application

  • Frontend (User Side): http://localhost/web-playstore/
  • Admin Panel: http://localhost/web-playstore/admin/login.php

Default Admin Credentials

  • Email: admin@webplaystore.com
  • Password: admin123

πŸ“ Project Structure

web-playstore/
β”œβ”€β”€ admin/
β”‚   β”œβ”€β”€ assets/
β”‚   β”‚   β”œβ”€β”€ admin.css
β”‚   β”‚   └── admin.js
β”‚   β”œβ”€β”€ login.php
β”‚   β”œβ”€β”€ dashboard.php
β”‚   β”œβ”€β”€ add-app.php
β”‚   β”œβ”€β”€ edit-app.php
β”‚   β”œβ”€β”€ delete-app.php
β”‚   β”œβ”€β”€ manage-users.php
β”‚   └── logout.php
β”œβ”€β”€ assets/
β”‚   β”œβ”€β”€ css/
β”‚   β”‚   └── style.css
β”‚   └── js/
β”‚       └── script.js
β”œβ”€β”€ includes/
β”‚   β”œβ”€β”€ db.php
β”‚   β”œβ”€β”€ auth.php
β”‚   └── functions.php
β”œβ”€β”€ uploads/
β”‚   └── apps/
β”œβ”€β”€ index.php
β”œβ”€β”€ app-details.php
β”œβ”€β”€ search.php
β”œβ”€β”€ category.php
β”œβ”€β”€ install.php
└── database.sql

🎯 Usage

Adding New Apps (Admin)

  1. Login to admin panel
  2. Click "Add New App" in sidebar
  3. Fill in app details:
    • App Name
    • Version
    • Category
    • Description
    • Upload App Icon (JPG, PNG, GIF - Max 5MB)
    • Upload App File (ZIP, RAR, APK, EXE, DMG - Max 100MB)
  4. Click Add App

Editing Apps (Admin)

  1. Go to Dashboard
  2. Find the app in the list
  3. Click Edit
  4. Make changes
  5. Optionally upload new icon/file
  6. Click Update App

Deleting Apps (Admin)

  1. Go to Dashboard
  2. Find the app
  3. Click Delete
  4. Confirm deletion

Downloading Apps (User)

  1. Browse or search for apps
  2. Click an app to view details
  3. Click Download & Install
  4. File will download automatically

πŸ”’ Security Features

  • Password hashing (bcrypt)
  • SQL injection prevention (mysqli_real_escape_string)
  • Session-based authentication
  • Admin route protection
  • File upload validation
  • Size limits on uploads
  • CSRF protection ready

Note: Always enforce HTTPS in production and review PHP settings for secure file handling.


🎨 Customization

Changing Colors

Edit assets/css/style.css and modify CSS variables:

:root {
    --primary-color: #1a73e8;
    --secondary-color: #34a853;
    /* etc. */
}

Adding Categories

  1. Login to phpMyAdmin
  2. Go to categories table
  3. Click Insert
  4. Add new category name

Changing Logo

  • Frontend: modify .logo in index.php
  • Admin: modify .sidebar-logo in admin pages

πŸ“Š Database Tables

  1. users β€” Store admin/user accounts
  2. categories β€” App categories
  3. apps β€” All app information
  4. downloads β€” Download tracking with IP addresses

πŸ› Troubleshooting

Database Connection Error

  • Check credentials in includes/db.php
  • Ensure MySQL service is running
  • Verify database name is correct

File Upload Error

  • Ensure uploads/apps/ exists and is writable
  • Check php.ini upload limits:
    • upload_max_filesize = 100M
    • post_max_size = 100M

Admin Login Not Working

  • Verify database import
  • Check users table for admin account
  • Clear browser cache and cookies

Images Not Displaying

  • Check file paths
  • Ensure images are in uploads/apps/
  • Verify file permissions

πŸ”„ Updating

  1. Backup your database
  2. Backup uploads/ folder
  3. Replace old files with new ones
  4. Keep includes/db.php settings
  5. Keep uploads/ folder

πŸ“ License

This project is free to use for personal and commercial purposes.


πŸ‘¨β€πŸ’» Developer Notes

  • Built with vanilla PHP (no frameworks)
  • Uses MySQLi (not PDO)
  • Fully responsive design
  • Production-ready code with clear comments and structure

πŸ†˜ Support

If you need help:

  1. Read this README
  2. Review code comments
  3. Check browser console for JS errors
  4. Check Apache / PHP error logs

✨ Features Coming Soon

  • App ratings and reviews
  • Advanced search filters
  • App screenshots gallery
  • User registration
  • Download history
  • Email notifications

Developed by NABIN with CLAUDE BROβ€” Web Play Store Project

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages