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
cd
to any directory of your choicecd your-directory
-
Clone this repository
git clone https://github.com/sasani72/banking-system.git
-
cd
into 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
.env
fileDB_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 test
Licensed under the MIT license.