Skip to content

mk3bomfim/themischeck-store

Repository files navigation

ThemisCheck Store ⚖️

A premium, full-stack e-commerce platform built with pure PHP and Vanilla JavaScript.

🚀 Getting Started

1. Prerequisites

  • PHP 8.0 or higher
  • MySQL or MariaDB
  • Composer (optional, no dependencies used currently)

2. Configuration

Ensure config/database.php matches your local database credentials. Default configuration:

  • Host: 127.0.0.1
  • Database: themischeck
  • User: root
  • Password: `` (empty)

3. Installation

Run the setup script to create the database schema and seed initial data:

php setup.php

4. Running the Server

Start the local development server:

php -S localhost:8000 router.php

Access the application at: http://localhost:8000

🔑 Default Credentials

  • Admin: admin@themischeck.com / admin123
  • Customer: user@example.com / user123 (created if you register)

📂 Project Structure

  • /core: Framework core (Router, Controller, Model, Database)
  • /controllers: Application controllers
  • /models: Database models
  • /views: HTML templates
  • /public: Static assets (CSS, JS, Images)
  • /config: Configuration files
  • /database: SQL schema

🛠 Features

  • MVC Architecture: Custom lightweight framework
  • Security: CSRF protection, PDO prepared statements, XSS filtering, Secure Sessions
  • Frontend: Glassmorphism dark UI, Vanilla JS, AJAX cart, Responsive
  • Admin Panel: Dashboard, Product/Order/Category management
  • Checkout: Multi-step checkout flow (mock payment integration)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors