The Credit Card API is a Spring Boot application designed to provide RESTful endpoints related to credit card operations. Originally built using JDBC, this project serves as a teaching aid to demonstrate the process of refactoring and upgrading a Spring Boot application.
The current version of the Credit Card API offers the following features:
- Credit Card CRUD Operations: Create, Read, Update, and Delete operations for credit card data.
- Validation: Ensures that credit card numbers are valid using the Luhn algorithm.
- Outdated Libraries: The project uses older versions of several libraries and Spring Boot.
The upcoming refactoring process aims to modernize the application and introduce best practices. The roadmap includes:
- Library Upgrades: Update all outdated libraries to their latest stable versions.
- JDBC to JPA Transition: Migrate the data access layer from JDBC to JPA, leveraging the power of ORM and reducing boilerplate code.
- Security Enhancements: Introduce security measures to protect the API endpoints.
- Deployment Configurations: Set up configurations to streamline the deployment process.
- Docker Integration: In the future, the project will be containerized using Docker for easier deployment and scalability.
To set up the project locally:
- Clone the Repository:
git clone https://github.com/dalgriff/credit-card-api.git
- Navigate to the Project Directory:
cd credit-card-api
- Install Dependencies (assuming Maven is used):
mvn install
- Run the Application:
mvn spring-boot:run
We welcome contributions! Please follow the Git workflow mentioned above. For major changes, please open an issue first to discuss what you would like to change.
This project is licensed under the MIT License. See the LICENSE
file for details.
This README provides a clear understanding of the project's current state and its future direction. As the project evolves, the README can be updated to reflect new changes, features, and improvements.
© 2023 appGnos. All rights reserved.