Skip to content

binibiningjenna/booklet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Booklet - E-Commerce Website

A responsive e-commerce website for browsing and purchasing books across various categories.

Live Demo

Experience Booklet Store Now

Booklet

Technology Stack

Version 1 (Static Frontend)

Technology Purpose Used in
HTML5 Page structure index.html, assets/
CSS3 Styling assets/css/styles.css
JavaScript Dynamic functionality assets/js/populate.js
Bootstrap Responsive layout All pages
GitHub Pages Hosting Live deployment

Version 2 (PHP)

Technology Purpose Used in
PHP Backend logic version-2/BE/*.php
MySQL Database version-2/BE/booklet.sql
JavaScript Frontend logic version-2/FE/script.js
Fetch API API communication version-2/FE/script.js
XAMPP Local server Development setup

Shared Technologies

Technology Purpose Used in Both Versions
Git Version control Entire repository
Font Awesome Icons UI elements

Features

Core Functionality

  • Category Navigation (Non-Fiction, Fiction, Education, Kids)
  • Book Display with covers, details, and prices
  • Interactive Shopping Cart:
    • Add/remove items
    • Quantity adjustment (± buttons)
    • Real-time total calculation
    • Checkout system

Dual Version Architecture

├── v1-static/          # Original static version (hosted)
│   ├── assets/         # CSS, JS, images
│   └── index.html      # Entry point
│
├── v1-php/             # PHP fullstack version
│   ├── BE/             # Backend
│   │   ├── booklet.sql
│   │   ├── categories.php
│   │   ├── connect.php
│   │   └── products.php
│   │
│   └── FE/             # Frontend
│       ├── img/        # Book covers
│       ├── script.js   # Updated fetch logic
│       ├── styles.css
│       └── index.html
│
└── README.md           # This documentation

Dual Version System

v1-static (Hosted Frontend)

  • Location: /v1-static
  • Tech: HTML/CSS/JS
  • Access: Live Demo

v1-php (Fullstack Local)

  • Location: /v1-php
  • Tech: PHP/MySQL + Frontend
  • Setup:
    cd v1-php/FE
    php -S localhost:8000
    

Quick Start

  1. Clone the repo:

    git clone https://github.com/yourusername/booklet-store.git
    cd booklet-store
    
  2. Open in browser

    open index.html  # Or double-click the file