A simulated payment processing application built with Laravel and Vue.js.
- Payment Simulation:
- Commission Calculation:
- Currency Handling:
- Secure ID Masking:
- Repository Pattern:
- A Simple UI:
- Backend: Laravel 12 / PHP 8.2
- Frontend: Vue.js 3 (Composition API) + Tailwind CSS
- Database: SQLite
- Testing: PHPUnit (Unit & Feature tests)
-
Clone the Repository
git clone https://github.com/GabMic/pay.git cd pay -
Install Backend Dependencies
composer install
-
Install Frontend Dependencies
npm install
-
Environment Configuration Copy the example environment file:
- Run cp .env.example .env - Run php artisan key:generate
-
Database Setup Run migrations and seed the simulated providers:
php artisan migrate --seed
-
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.
The application includes tests covering the Service layer, API endpoints, and Data Resources.
To run the test suite:
php artisan test