Skip to content

Database project using gui and shopping cart based on php of use framework Laravel and Oracle19c.

License

Notifications You must be signed in to change notification settings

dawidolko/TechByte-Project-Laravel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

133 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Database-Project-ComputerStore

πŸš€ Modern E-Commerce Platform for Computer Store - Full-stack application with JavaScript Frontend, PHP Backend, and PL/SQL Oracle Database

πŸ“‹ Description

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.

πŸ“ Repository Structure

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

πŸš€ Getting Started

1. Clone the Repository

git clone https://github.com/dawidolko/Database-Project-ComputerStore.git
cd Database-Project-ComputerStore

2. Database Setup (Oracle 19c)

# Import database schema and data
sqlplus username/password@database < plsql-oracle19c/procedures.sql

3. Backend Configuration

# 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/

4. Frontend Setup

# 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

βš™οΈ System Requirements

Essential Tools:

  • 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

Development Environment:

  • 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)

Database Requirements:

  • Oracle Database 19c with PL/SQL support
  • SQL*Plus for script execution
  • Proper database user privileges for DDL/DML operations

Recommended Extensions:

  • PHP syntax highlighting and IntelliSense
  • SQL formatting and validation
  • Prettier for code formatting
  • ESLint for JavaScript code quality
  • Live Server for frontend development

✨ Key Features

πŸ›’ E-Commerce Functionality

  • Complete product catalog with laptops, desktops, and components
  • Advanced shopping cart with real-time price calculations
  • Secure checkout process with order management

πŸ‘€ User Management

  • User registration and authentication system
  • Personal account dashboard with order history
  • Favorite products and wishlist functionality

πŸ—„οΈ Database Architecture

  • Comprehensive Entity-Relationship Diagram (ERD)
  • Advanced PL/SQL stored procedures and triggers
  • Optimized data export and import capabilities
  • Transaction management and data integrity constraints

πŸ“± Responsive Design

  • Fully optimized for mobile, tablet, and desktop devices
  • Modern CSS Grid and Flexbox layouts
  • Intuitive navigation and user experience

πŸ” Security Features

  • Session management and authentication
  • Secure database connections and prepared statements
  • Environment-based configuration management

πŸ“Š Administrative Tools

  • Database management scripts for maintenance
  • Data export functionality for backup and analysis
  • Comprehensive documentation and API specifications

πŸ› οΈ Technologies Used

  • 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

🌍 Live Demo

The project is deployed and available at: https://techbyte.dawidolko.pl

πŸ–ΌοΈ Preview

TechByte Store Preview

🀝 Contributing

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.

πŸ‘¨β€πŸ’» Authors

Created by:

πŸ“„ License

This project is open source and available under the MIT License.


About

Database project using gui and shopping cart based on php of use framework Laravel and Oracle19c.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •