https://github.com/fabdoc27/bangubank
Bangubank demonstrating the use of both file and database storage with OOP principles, featuring user roles, transactions, and session management.
https://github.com/fabdoc27/bangubank
mysql oop pdo php tailwindcss
Last synced: 2 months ago
JSON representation
Bangubank demonstrating the use of both file and database storage with OOP principles, featuring user roles, transactions, and session management.
- Host: GitHub
- URL: https://github.com/fabdoc27/bangubank
- Owner: Fabdoc27
- Created: 2024-07-26T11:26:10.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-10-15T23:06:16.000Z (6 months ago)
- Last Synced: 2024-12-25T10:40:51.558Z (4 months ago)
- Topics: mysql, oop, pdo, php, tailwindcss
- Language: PHP
- Homepage:
- Size: 44.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Simple Banking Application
A banking application that demonstrates the use of both file and database storage systems while following Object-Oriented Programming (OOP) principles. This project features user roles (Admin and Customer), transactions, and session management.
## Getting Started
1. **Clone the repository:**
```shell
git clone [email protected]:Fabdoc27/Bangubank.git
cd Bangubank
```2. **Install the dependencies:**
```shell
composer install
```**Note:** You can change the storage type inside `config/database.php`:
- **File Storage:** Set `"storage" => "file"`.
- **Database Storage:** Set `"storage" => "database"`.3. **Run the project:**
Start the PHP development server:
```shell
php -S localhost:8080
```4. **Access the application:**
Open your browser and go to [http://localhost:8080](http://localhost:8080).