Local Server 1a5fd691bd Phase 1: Fix script loading order and remove duplicates
- Remove duplicate cart.js loads from about.html and contact.html
- Standardize script loading order across all pages:
  1. api-cache.js (if needed)
  2. main.js
  3. shop-system.js
  4. Page-specific scripts
  5. UI enhancements last
- Remove cart.js from shop.html and product.html (shop-system handles it)
- Add api-cache.js to about.html and contact.html (they make API calls)
- Prevent double initialization conflicts
2026-01-14 21:19:23 -06:00
2025-12-19 20:44:46 -06:00
2026-01-04 17:52:37 -06:00
2025-12-19 20:44:46 -06:00
2025-12-19 20:44:46 -06:00
2026-01-01 22:24:30 -06:00
2025-12-24 00:13:23 -06:00
2026-01-01 22:24:30 -06:00

Sky Art Shop

Your destination for creative stationery and art supplies.

Project Structure

SkyArtShop/
├── backend/           # Node.js/Express server code
├── website/           # Frontend HTML/CSS/JS files
│   ├── admin/        # Admin panel pages
│   ├── public/       # Public-facing pages
│   └── assets/       # CSS, JS, images
├── docs/             # Documentation and guides
├── scripts/          # Shell scripts and automation
├── config/           # Configuration files (nginx, pm2, etc.)
├── old-backups/      # Archived backups
└── old-docs/         # Archived documentation

## Quick Start

1. **Install Dependencies:**
   ```bash
   cd backend && npm install
  1. Configure Environment:

    cp .env.example .env
    # Edit .env with your database credentials
    
  2. Start Development Server:

    ./scripts/dev-start.sh
    
  3. Access the Site:

Key Documentation

Located in docs/ folder:

  • QUICK_START.md - Get started quickly
  • WORKFLOW.md - Development workflow guide
  • SERVER_MANAGEMENT.md - Server deployment and management
  • DEVELOPMENT_MODE.md - Running in development mode
  • GIT-README.md - Git workflow and commands

Recent Fixes

  • LOGOUT_CONFIRMATION_FIX.md - Logout confirmation dialog now works on all admin pages (December 19, 2025)

Useful Scripts

Located in scripts/ folder:

  • dev-start.sh - Start development server
  • deploy-website.sh - Deploy to production
  • quick-status.sh - Check server status
  • manage-server.sh - Server management utilities

Configuration Files

Located in config/ folder:

  • ecosystem.config.js - PM2 process configuration
  • nginx-*.conf - Nginx configuration files
  • skyartshop.service - systemd service file

Tech Stack

  • Backend: Node.js, Express
  • Database: PostgreSQL
  • Frontend: HTML5, CSS3, Vanilla JavaScript
  • Process Manager: PM2
  • Web Server: Nginx

Support

For questions or issues, check the documentation in the docs/ folder or contact support@skyartshop.com.

Description
No description provided
Readme 84 MiB
Languages
HTML 40.8%
JavaScript 36.6%
CSS 17.2%
Shell 3%
EJS 1%
Other 1.4%