Skip to content

A banking transaction project involves developing a secure and efficient system for managing the financial operations of a banking institution. The aim is to provide users with a reliable platform to carry out transactions such as deposits, withdrawals, transfers and payments.

Notifications You must be signed in to change notification settings

RamonSouzaDev/banking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hello 👋, I'm Ramon Mendes - Software Developer

A back-end developer passionate about technology

  • 🔭 I am currently working on Back-end project development

  • 🌱 I'm currently learning Software Architecture and Engineering

  • 📫 How to reach me [email protected]

    I ended up getting excited and developing, even after the delivery date.

Let's network :

https://www.linkedin.com/in/ramon-mendes-b44456164/

Languages and Tools

hadoop javascript linux mysql php

docker

Banking

logo-bnb(1)(1)

##Admin user Email : [email protected] Password: senha

  • Installing Project

Environment setup video on Youtube

Click here: https://youtu.be/nhZv94lVTtA

Watch the video

  1. Clone the repository: git clone [email protected]:RamonSouzaDev/banking.git

  2. Enter the project folder cd "banking"

Running using docker

docker

  1. Run the commands to upload the backend environment cd "backend-banking" in the terminal run the command : docker compose up --build

  2. Run the commands to upload the frontend environment cd "frontend-banking" in the terminal run the command : docker compose up --build

  3. Open a third tab in your terminal and run the command Execute this command inside folder "backend-banking" to generate librarys and generete composer to laravel ./start-backend.sh

Backend Unit Tests 💡

  1. Enter the backend container and run the command ./vendor/bin/phpunit --coverage-html coverage

WhatsApp Image 2024-04-20 at 09 33 30

Frontend Unit Tests 💡

tests

  1. Enter the frontend container and run the command npm run test:unit

Seeders Run the commands below to generate data

  1. php artisan db:seed --class=UserSeeder
  2. php artisan db:seed --class=TransactionsTableSeeder
  3. php artisan db seed --class=CheckDepositsTableSeeder
  4. php artisan db seed --class=AccountBalanceSeeder

Note: Remember to add the Bearer Token of the logged in user in the request, if you are using Postman. 👍

Methods 🔥🔥🔥

Authentication

Method Route Description
POST /api/login Route to login
POST /api/register Route to register a user
POST /api/logout Route to logout

Transactions

Method Route Description
POST /api/deposit Route to make a deposit
POST /api/purchase Route to make a purchase
GET /api/transactions Route to list all transactions
GET /api/checks Route to list all checks
GET /api/incomes Route to list all incomes
GET /api/expenses Route to list all expenses by month

Check Administration

Method Route Description
GET /api/admin/check-deposits/pending Route to list pending deposits
POST /api/check-deposit/approve/{checkDeposit} Route to approve a check deposit
POST /api/check-deposit/deny/{checkDeposit} Route to deny a check deposit

Balance and Reports

Method Route Description
GET /api/balance Route to get current balance

User Management

Method Route Description
GET /api/users Route to list all users
GET /api/users/{user} Route to display details of a specific user
PUT /api/users/{user} Route to update a user
DELETE /api/users/{user} Route to delete a user
GET /api/user Route to get logged-in user information
GET /api/user-details/{userId}/{checkId} Route to get user check details

Legacy Authentication

Method Route Description
POST /login Legacy route to login
GET /logout Legacy route to logout

About

A banking transaction project involves developing a secure and efficient system for managing the financial operations of a banking institution. The aim is to provide users with a reliable platform to carry out transactions such as deposits, withdrawals, transfers and payments.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published