Skip to content

A banking system API to do simple transactions, getting transfer history and get balances of an account

Notifications You must be signed in to change notification settings

sasani72/banking-system

Repository files navigation

A simple bank transaction management API system by using Laravel.

Running Locally

This project is built with Laravel Framework 10.10 and would require PHP 8.1+ to run smoothly.

  1. Open your terminal and cd to any directory of your choice

    cd your-directory
  2. Clone this repository

    git clone https://github.com/sasani72/banking-system.git
  3. cd into the folder created for cloned project:

    cd banking-system
  4. Install packages with composer (Make sure composer is installed already)

    composer install
  5. Make a copy of .env.example as .env

    cp .env.example .env
  6. Generate app key

    php artisan key:generate
  7. Create an empty database and add the database credentials to .env file

        DB_HOST=localhost
        DB_DATABASE=your_database_name
        DB_USERNAME=root
        DB_PASSWORD=your_password
    
  8. Run migration and seed the database

    php artisan migrate
    php artisan db:seed
  9. Start Laravel local server

     php artisan serve
  10. You can now use login endpoint with user "admin@banking.com", password "admin@1234!"

Run Tests

Run application tests

 php artisan test

License

Licensed under the MIT license.

About

A banking system API to do simple transactions, getting transfer history and get balances of an account

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages