Gadgets92 is a comprehensive tech specifications platform that serves as a one-stop destination for viewing detailed technical specifications of consumer electronic products including smartphones, laptops, smartwatches, headsets, and televisions.
- Overview
- Features
- Tech Stack
- Installation
- Project Structure
- Admin Panel
- User Features
- Database
- API Documentation
- Contributing
- License
Gadgets92 allows users to browse, search, and compare technical specifications of various electronic devices. The platform is designed to help consumers make informed purchasing decisions by providing comprehensive and up-to-date information about the latest gadgets in the market.
- Product Categories: Browse products by categories (Mobiles, Laptops, Watches, Televisions, Headsets)
- Advanced Search: Find products using various filters and specifications
- Product Comparison: Compare multiple products side by side
- User Ratings: View and submit product ratings
- Upcoming Products: Stay updated with soon-to-be-released gadgets
- Latest Products: Discover the newest products in the market
- Responsive Design: Optimized for both desktop and mobile devices
- User Authentication: Register, login, and manage your profile
- Admin Panel: Comprehensive backend for content management
- Frontend: HTML, CSS, JavaScript, Bootstrap 5, jQuery
- Backend: PHP
- Database: MySQL
- Email: PHPMailer
- Dependencies Management: Composer
- Icons: Font Awesome, Bootstrap Icons
- PHP 7.4 or higher
- MySQL 5.7 or higher
- Composer
- Web server (Apache/Nginx)
-
Clone the repository:
git clone https://github.com/yourusername/Gadgets92.git cd Gadgets92 -
Install dependencies:
composer install
-
Database setup:
- Create a MySQL database named
gadgets92 - Import the
gadgets92.sqlfile to set up the database schema and sample data - Update database credentials in
dbcon.phpif needed:$con = mysqli_connect('localhost', 'your_username', 'your_password', 'gadgets92', 3306);
- Create a MySQL database named
-
Configure your web server to point to the project directory
-
Access the website:
- Frontend:
http://localhost/Gadgets92/ - Admin Panel:
http://localhost/Gadgets92/admin/(Default credentials: username:admin, password:admin)
- Frontend:
Gadgets92/
├── admin/ # Admin panel files
│ ├── assets/ # Admin panel assets (CSS, JS)
│ ├── brands/ # Brand management
│ ├── functions/ # Admin utility functions
│ ├── inc/ # Admin includes (header, footer)
│ ├── products/ # Product management
│ ├── specs/ # Specifications management
│ └── index.php # Admin dashboard
├── css/ # Frontend CSS files
├── img/ # Images and media files
├── inc/ # Frontend includes (header, footer, functions)
├── js/ # Frontend JavaScript files
├── mobiles/ # Mobile phones section
├── laptops/ # Laptops section
├── watches/ # Smartwatches section
├── televisions/ # TVs section
├── headsets/ # Headsets section
├── vendor/ # Composer dependencies
├── .htaccess # URL rewriting rules
├── composer.json # Composer configuration
├── dbcon.php # Database connection
├── gadgets92.sql # Database schema and data
└── index.php # Homepage
The admin panel provides a comprehensive interface for managing the website content:
- Dashboard: Overview of website statistics
- User Management: Manage admin users and roles
- Products Management: Add, edit, delete products across all categories
- Brand Management: Manage product brands
- Specifications Management: Manage detailed specifications for each product category
- Product Browsing: Browse products by category, brand, or specifications
- Product Finder: Use advanced filters to find products matching specific criteria
- Product Comparison: Compare up to 4 products side by side
- User Accounts: Register, login, and manage profile
- Ratings: Submit and view product ratings
- Search: Search for products across all categories
The database structure includes the following main tables:
products: Core product informationcategories: Product categoriesbrands: Product brandsmobile_specs: Specifications for mobile phoneslaptop_specs: Specifications for laptopswatch_specs: Specifications for smartwatchestv_specs: Specifications for televisionsheadset_specs: Specifications for headsetsusers: User account informationadmin_users: Admin user informationuser_reviews: Product ratings and reviews
The project includes several internal APIs for handling data:
- Search API: Handles live search functionality
- Rating API: Processes user ratings
- Product Filtering API: Handles advanced product filtering
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
© 2024 Gadgets92. All Rights Reserved.
