Varsity Market is a lightweight engine designed to deploy and manage embedded e-commerce storefronts. Built with a focus on portability and performance, it allows for seamless integration into existing sites or standalone deployment as a Progressive Web App (PWA).
- Theme-Based Architecture: Modular frontend templates located in the
/themesdirectory. - Embedded Deployment: Support for exporting storefronts via
iFrameor direct source code distribution. - Unified Admin Dashboard: A centralized interface (
/vm-admin) for managing inventory, orders, and configuration. - Storage: High-efficiency SQLite 3 backend for zero-dependency portability.
- Cloud Integration: Built-in support for Cloudflare (DNS management) and GitHub (automated deployment workflows).
- Languages: PHP 7.4+, JavaScript (ES6+), CSS3
- Database: SQLite 3
- Protocol: RESTful API for internal services
- PWA: Service Worker integration for offline capabilities
/vm-admin: Administrative console and backend logic./services: System scripts for database maintenance and export utilities./themes: Directory for UI/UX templates./module: Core application modules (e.g., GitHub integration)./app: PWA client-side resources.
- PHP 7.4 or higher
- SQLite 3 extension enabled
- Web server (Apache/Nginx) with rewrite support
- Clone the repository to your server root.
- Configure the
.envfile with your credentials (GitHub, Cloudflare, etc.). - Initialize the database:
php services/sys.database.php
The engine provides several CLI tools for system management:
| Command | Description |
|---|---|
php services/sys.database.php |
Initialize or reset the core database. |
php services/sys.database.backup.php |
Generate a timestamped backup of the database. |
php services/sys.database.reboot.php |
Perform a clean system reboot and state reset. |
php services/sys.database.restore.php |
Restore the database from the latest backup. |
Varsity Market Technologies