A simple bank transaction management API system by using Laravel.
This project is built with Laravel Framework 10.10 and would require PHP 8.1+ to run smoothly.
-
Open your terminal and
cdto any directory of your choicecd your-directory -
Clone this repository
git clone https://github.com/sasani72/banking-system.git
-
cdinto the folder created for cloned project:cd banking-system -
Install packages with composer (Make sure composer is installed already)
composer install
-
Make a copy of .env.example as .env
cp .env.example .env
-
Generate app key
php artisan key:generate
-
Create an empty database and add the database credentials to
.envfileDB_HOST=localhost DB_DATABASE=your_database_name DB_USERNAME=root DB_PASSWORD=your_password -
Run migration and seed the database
php artisan migrate php artisan db:seed
-
Start Laravel local server
php artisan serve
-
You can now use login endpoint with user "admin@banking.com", password "admin@1234!"
Run application tests
php artisan testLicensed under the MIT license.