CyberTrendHub is a full-featured e-commerce and dropshipping platform, built using PHP and MySQL to deliver a smooth shopping experience for customers and an efficient backend for sellers. CyberTrendHub supports a wide range of products, flexible dropshipping options, and offers powerful analytics for tracking sales and customer insights.
- Features
- Technologies
- Getting Started
- Installation
- Configuration
- Usage
- Directory Structure
- Contributing
- License
- Product Catalog: Browse products across various categories with detailed descriptions and images.
- Advanced Search and Filters: Quickly find products with filters for price, category, and brand.
- User Accounts: Create and manage accounts, view past orders, and track current orders.
- Cart & Checkout: Simple cart management with secure checkout.
- Multiple Payment Options: Integration with PayPal, Stripe, and credit cards.
- Order Tracking: Track order status from checkout to delivery.
- Seller Dashboard: Real-time data on sales, products, and performance metrics.
- Product Management: Tools to add, update, or remove products and manage stock levels.
- Order Fulfillment: Simplified order management with tools for handling returns and refunds.
- Dropshipping Support: Connect with suppliers to automate inventory and fulfillment.
- Sales Analytics: Insights into revenue, best-selling items, and other key metrics.
- Responsive Design: Optimized for both desktop and mobile devices.
- SEO-Friendly Structure: Built to rank well on search engines.
- Notification System: Alerts for customers and sellers on order and stock updates.
- Admin Control Panel: For site management, including user roles, orders, and general settings.
CyberTrendHub is powered by:
- Backend: PHP (native or using a PHP framework like Laravel)
- Database: MySQL
- Frontend: HTML, CSS, JavaScript, Bootstrap
- Payment Integration: Stripe, PayPal
- Authentication: PHP session management with secure handling
- PHP 7.4+ (or the latest version)
- MySQL (or MariaDB)
- Composer (if using Laravel)
- NPM or Yarn for managing frontend dependencies
-
Clone the Repository:
git clone https://github.com/your-username/CyberTrendHub.git cd CyberTrendHub
-
Install Dependencies:
-
Composer for PHP:
composer install
-
NPM for frontend assets:
npm install
-
-
Set Up the Database:
- Create a MySQL database for CyberTrendHub.
- Import the provided
cybertrendhub.sql
file (located in thedatabase
directory) to set up the necessary tables.
-
Environment Configuration:
-
Create a copy of
.env.example
and rename it to.env
. -
Update the
.env
file with your database credentials and other environment settings:DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=cybertrendhub DB_USERNAME=root DB_PASSWORD=your_password
-
-
Generate Application Key (if using Laravel):
php artisan key:generate
-
Environment Variables:
- Define variables in the
.env
file for app settings, such as the application URL, database credentials, and API keys for payment gateways.
- Define variables in the
-
Payment Gateways:
- Configure PayPal and Stripe by adding their API keys to the
.env
file.
- Configure PayPal and Stripe by adding their API keys to the
-
Start the PHP Development Server:
php artisan serve
-
Access the Application:
- Open
http://localhost:8000
in your browser to access the CyberTrendHub site.
- Open
The main directories in CyberTrendHub include:
/app
: Core application logic/config
: Configuration files for the app and database/database
: Migration and SQL files for database setup/public
: Public assets like images, CSS, and JavaScript/resources
: Views and templates/routes
: Web routes for defining application endpoints/storage
: Logs, cache, and uploaded files
We welcome contributions from the community. Please open an issue or submit a pull request with your suggested improvements. For major changes, please discuss them with us first to ensure alignment with the project's direction.
CyberTrendHub is open-source software licensed under the MIT license.
CyberTrendHub is your one-stop platform for building a successful e-commerce and dropshipping store. Thank you for using our platform, and happy selling!