Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

124 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

ORON Gaming Platform

A modern web-based gaming platform built with PHP and Oracle Database, featuring a digital game store, user authentication, shopping cart functionality, and payment processing.

๐ŸŽฎ Overview

ORON is a comprehensive gaming platform that allows users to browse, purchase, and manage their digital game collection. The platform features a modern, responsive design with secure user authentication, shopping cart functionality, and integrated payment processing through Midtrans.

โœจ Features

Store Game Detail
Store
Extensive catalog with real-time search and filters
Game Detail
Full pricing, description, and discount display
Cart Payment
Shopping Cart
Add/remove games, manage quantities, IDR pricing
Midtrans Payment
Secure checkout via multiple methods

๐Ÿ“š Game Library

  • Personal Library: Access to purchased games
  • Game Management: Organize and manage game collection
  • Purchase History: Track all transactions and purchases

๐Ÿ›ก๏ธ Security Features

  • reCAPTCHA Protection: Bot protection on login forms
  • Password Hashing: Secure password storage using PHP's password_hash()
  • SQL Injection Prevention: Prepared statements with Oracle database
  • Session Security: Secure session management
  • Input Validation: Comprehensive input sanitization

๐Ÿ‘ค User Management

  • User Registration: Secure account creation with validation
  • Login System: Password-protected authentication with reCAPTCHA
  • Password Recovery: Secure password reset functionality
  • Profile Management: User profile and account settings
  • Session Management: Secure session handling

๐Ÿ› ๏ธ Technology Stack

Backend

  • PHP 7.4+: Server-side scripting language
  • Oracle Database: Primary database system
  • Composer: Dependency management

Frontend

  • HTML5: Semantic markup
  • CSS3: Modern styling with custom design system
  • JavaScript: Interactive functionality
  • Font Awesome: Icon library
  • Swiper.js: Carousel and slider functionality

External Services

  • Midtrans: Payment gateway integration
  • Google reCAPTCHA: Bot protection
  • Google Fonts: Typography (Lemon Milk font family)

Dependencies

{
    "midtrans/midtrans-php": "^2.6",
    "vlucas/phpdotenv": "^5.6",
    "google/recaptcha": "^1.3"
}

๐Ÿ“‹ Prerequisites

Before running this project, ensure you have:

  • PHP 7.4 or higher
  • Oracle Database (XE or higher)
  • Oracle Instant Client (for PHP Oracle extension)
  • Composer (for dependency management)
  • Web Server (Apache/Nginx)
  • PHP Extensions:
    • oci8 (Oracle database extension)
    • curl
    • json
    • mbstring

๐Ÿš€ Installation

1. Clone the Repository

git clone <repository-url>
cd PBL_Oron

2. Install Dependencies

composer install

3. Database Setup

  1. Create an Oracle database instance
  2. Import the database schema from assets/databases/
  3. Configure database connection in .env file

4. Environment Configuration

Create a .env file in the root directory:

DB_USERNAME=your_oracle_username
DB_PASSWORD=your_oracle_password
MIDTRANS_SERVER_KEY=your_midtrans_server_key
MIDTRANS_CLIENT_KEY=your_midtrans_client_key
RECAPTCHA_SITE_KEY=your_recaptcha_site_key
RECAPTCHA_SECRET_KEY=your_recaptcha_secret_key

5. Web Server Configuration

Configure your web server to point to the project root directory and ensure PHP has access to the Oracle extension.

๐Ÿ“ Project Structure

PBL_Oron/
โ”œโ”€โ”€ assets/                 # Static assets
โ”‚   โ”œโ”€โ”€ databases/         # Database files
โ”‚   โ”œโ”€โ”€ images/           # General images
โ”‚   โ”œโ”€โ”€ storeImg/         # Product images
โ”‚   โ””โ”€โ”€ reset.css         # CSS reset
โ”œโ”€โ”€ features/             # Core application features
โ”‚   โ”œโ”€โ”€ cart/            # Shopping cart functionality
โ”‚   โ”œโ”€โ”€ connection/      # Database connection
โ”‚   โ”œโ”€โ”€ history/         # Transaction history
โ”‚   โ”œโ”€โ”€ library/         # User game library
โ”‚   โ”œโ”€โ”€ login/           # Authentication system
โ”‚   โ”œโ”€โ”€ pages/           # Static pages
โ”‚   โ”œโ”€โ”€ process/         # Payment processing
โ”‚   โ”œโ”€โ”€ profile/         # User profile management
โ”‚   โ””โ”€โ”€ store/           # Game store functionality
โ”œโ”€โ”€ Styling/             # Frontend assets
โ”‚   โ”œโ”€โ”€ css/            # Stylesheets
โ”‚   โ”œโ”€โ”€ images/         # UI images
โ”‚   โ””โ”€โ”€ JS/             # JavaScript files
โ”œโ”€โ”€ vendor/              # Composer dependencies
โ”œโ”€โ”€ composer.json        # PHP dependencies
โ””โ”€โ”€ README.md           # This file

๐Ÿ”ง Configuration

Database Configuration

The application connects to Oracle Database using the configuration in features/connection/connection.php. Ensure your Oracle instance is running and accessible.

Payment Configuration

Midtrans payment gateway is configured in the cart and process files. Update the API keys in your .env file for production use.

reCAPTCHA Configuration

Google reCAPTCHA is used for bot protection. Configure your site and secret keys in the .env file.

๐Ÿค Contributing

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

๐Ÿ“ License

This project is licensed under the MIT License - see the LICENSE file for details.

About

No description, website, or topics provided.

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages