Skip to content

GabMic/pay

Repository files navigation

Pay

A simulated payment processing application built with Laravel and Vue.js.

Features

  • Payment Simulation:
  • Commission Calculation:
  • Currency Handling:
  • Secure ID Masking:
  • Repository Pattern:
  • A Simple UI:

Tech Stack

  • Backend: Laravel 12 / PHP 8.2
  • Frontend: Vue.js 3 (Composition API) + Tailwind CSS
  • Database: SQLite
  • Testing: PHPUnit (Unit & Feature tests)

Installation & Setup

  1. Clone the Repository

    git clone https://github.com/GabMic/pay.git
    cd pay
  2. Install Backend Dependencies

    composer install
  3. Install Frontend Dependencies

    npm install
  4. Environment Configuration Copy the example environment file:

    - Run cp .env.example .env
    - Run php artisan key:generate
  5. Database Setup Run migrations and seed the simulated providers:

    php artisan migrate --seed
  6. Run the Application Open two terminal tabs:

    Tab 1 (Backend):

    php artisan serve

    Tab 2 (Frontend):

    npm run dev

    Access the app at http://127.0.0.1:8000.


Tests

The application includes tests covering the Service layer, API endpoints, and Data Resources.

To run the test suite:

php artisan test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages