π Modern E-Commerce Platform for Computer Store - Full-stack application with JavaScript Frontend, PHP Backend, and PL/SQL Oracle Database
Welcome to the TechByte computer store repository! This project showcases a comprehensive e-commerce platform offering a wide selection of computer products, including laptops, desktop computers, components, and accessories. Built with modern web technologies and enterprise-grade database management, this platform demonstrates professional full-stack development practices.
The application features a dynamic JavaScript frontend, robust PHP backend, and Oracle PL/SQL database with advanced stored procedures, triggers, and data management capabilities. This repository exemplifies best practices in database design, API development, and responsive user interface implementation.
Database-Project-ComputerStore/
βββ π frontend/ # JavaScript frontend application
β βββ π index.html # Main store homepage
β βββ π cart.html # Shopping cart page
β βββ π» computers.html # Desktop computers catalog
β βββ πΌ laptops.html # Laptops catalog
β βββ π€ account.html # User account management
β βββ π§ contact.html # Contact page
β βββ π¨ assets/ # Images, styles, and scripts
βββ π backend/ # PHP backend logic and API
β βββ π§ api/ # RESTful API endpoints
β βββ π auth/ # Authentication and session management
β βββ ποΈ database/ # Database connection handlers
βββ π plsql-oracle19c/ # PL/SQL database scripts
β βββ π procedures.sql # Stored procedures
β βββ π export.sql # Data export scripts
β βββ ποΈ delete.sql # Data deletion scripts
β βββ π§Ή clear.sql # Database cleanup scripts
βββ π entity-relationship-diagram/ # Database design documentation
β βββ π ERD_v3.pdf # Latest ER diagram version
β βββ πΌοΈ ERD_v3.png # ER diagram image
β βββ π README.md # ER diagram documentation
βββ π docs/ # Project documentation
β βββ π jsDoc/ # JavaScript API documentation
β βββ π project-description-v2.docx
βββ π .github/workflows/ # CI/CD automation
βββ βοΈ .env.example # Environment configuration template
βββ π .gitignore # Git ignore rules
βββ π€ CONTRIBUTING.md # Contribution guidelines
βββ π LICENSE # MIT License
βββ π README.md # Project documentation
git clone https://github.com/dawidolko/Database-Project-ComputerStore.git
cd Database-Project-ComputerStore# Import database schema and data
sqlplus username/password@database < plsql-oracle19c/procedures.sql# Copy environment configuration
cp .env.example .env
# Edit .env file with your database credentials and settings
# Start PHP backend server
php -S localhost:8000 -t backend/# Open frontend in browser or use a local server
cd frontend
# Using Python simple server
python -m http.server 3000
# Or using Node.js http-server
npx http-server -p 3000- Access the application at http://localhost:3000
- Oracle Database 19c or higher
- PHP (version 7.4 or higher)
- Web Server (Apache, Nginx, or PHP built-in server)
- Modern Web Browser (Chrome, Firefox, Safari, Edge)
- Git for version control
- Code Editor (VS Code, PhpStorm, WebStorm)
- SQL Developer or SQLcl for database management
- Postman or Insomnia for API testing
- Node.js (optional, for development tools)
- Oracle Database 19c with PL/SQL support
- SQL*Plus for script execution
- Proper database user privileges for DDL/DML operations
- PHP syntax highlighting and IntelliSense
- SQL formatting and validation
- Prettier for code formatting
- ESLint for JavaScript code quality
- Live Server for frontend development
- Complete product catalog with laptops, desktops, and components
- Advanced shopping cart with real-time price calculations
- Secure checkout process with order management
- User registration and authentication system
- Personal account dashboard with order history
- Favorite products and wishlist functionality
- Comprehensive Entity-Relationship Diagram (ERD)
- Advanced PL/SQL stored procedures and triggers
- Optimized data export and import capabilities
- Transaction management and data integrity constraints
- Fully optimized for mobile, tablet, and desktop devices
- Modern CSS Grid and Flexbox layouts
- Intuitive navigation and user experience
- Session management and authentication
- Secure database connections and prepared statements
- Environment-based configuration management
- Database management scripts for maintenance
- Data export functionality for backup and analysis
- Comprehensive documentation and API specifications
- Frontend: HTML5, CSS3, JavaScript (ES6+)
- Backend: PHP 7.4+, RESTful API architecture
- Database: Oracle Database 19c, PL/SQL
- Version Control: Git, GitHub
- CI/CD: GitHub Actions for automated workflows
- Documentation: JSDoc, Markdown, Entity-Relationship Diagrams
The project is deployed and available at: https://techbyte.dawidolko.pl
Contributions are highly welcomed! Here's how you can help:
- π Report bugs - Found an issue? Let us know!
- π‘ Suggest improvements - Have ideas for better features?
- π§ Submit pull requests - Share your enhancements and solutions
- π Improve documentation - Help make the project clearer
Please see our detailed contribution guidelines in the CONTRIBUTING.md file before submitting your contributions.
Created by:
- Dawid Olko - Project Lead & Full-Stack Development
- Piotr SmoΕa - Database Design & Backend Development
This project is open source and available under the MIT License.
