Giter Site home page Giter Site logo

032abhishekchoksi / banking-rest-api Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 71 KB

This project aims to build REST APIs for a simple Banking application using Spring Boot, Spring Data JPA (Hibernate), and MySQL database. The APIs will provide functionality for basic banking operations such as creating accounts, transferring funds, checking balances, and retrieving transaction history.

Java 100.00%
mysql-database rest-api simple-banking-system spring-boot spring-data-jpa 032abhishekchoksi

banking-rest-api's Introduction

Simple Banking Application REST APIs

This project aims to build REST APIs for a simple Banking application using Spring Boot, Spring Data JPA (Hibernate), and MySQL database. The APIs will provide functionality for basic banking operations such as creating accounts, transferring funds, checking balances, and retrieving transaction history.

Features

  • Account Management: Create, update, and delete bank accounts.
  • Transaction Handling: Perform transactions such as deposit, withdrawal, and fund transfers between accounts.
  • Balance Inquiry: Retrieve account balance information.
  • Transaction History: View transaction history for an account.
  • Security: Implement authentication and authorization mechanisms to ensure secure access to the APIs.
  • Validation: Validate input data to ensure data integrity and consistency.
  • Error Handling: Properly handle errors and exceptions to provide meaningful feedback to API consumers.
  • Logging: Implement logging to track API usage and debug issues.

Technologies Used

  • Spring Boot: Framework for building robust and scalable Java applications.
  • Spring Data JPA (Hibernate): Simplifies database operations by providing an easy-to-use interface for working with relational databases.
  • MySQL Database: RDBMS for storing banking data.
  • Spring Security: Provides authentication and authorization support.
  • Swagger UI: Generate interactive API documentation for easy testing and exploration.
  • JUnit & Mockito: Frameworks for unit testing and mocking dependencies.

Getting Started

Prerequisites

  • Java Development Kit (JDK) installed (version 8 or higher)
  • Maven installed
  • MySQL Server installed and running

Installation

  1. Clone the repository:
git clone https://github.com/032AbhishekChoksi/banking-rest-api
  1. Navigate to the project directory:
cd banking-rest-api
  1. Update MySQL database configuration in application.properties:
spring.datasource.url=jdbc:mysql://localhost:3306/banking_app
spring.datasource.username=root
spring.datasource.password=password
spring.jpa.hibernate.ddl-auto=update
  1. Build the project:
mvn clean install
  1. Run the application:
java -jar target/banking-rest-api.jar

API Documentation

Once the application is running, you can access the API documentation using Swagger UI at http://localhost:8080/swagger-ui.html.

Contributing

Contributions are welcome! Please feel free to submit pull requests or open issues for any bugs or feature requests.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

  • This project is inspired by the need for a simple, yet functional banking application for educational and demonstration purposes.
  • Special thanks to the Spring Boot, Spring Data JPA, and MySQL communities for providing excellent documentation and resources.

banking-rest-api's People

Contributors

032abhishekchoksi avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.