Coder Social home page Coder Social logo

credit-card-api's Introduction

Credit Card API

credit-card-icon-png-4416.png

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.

Table of Contents

Current Functionality

The current version of the Credit Card API offers the following features:

  1. Credit Card CRUD Operations: Create, Read, Update, and Delete operations for credit card data.
  2. Validation: Ensures that credit card numbers are valid using the Luhn algorithm.
  3. Outdated Libraries: The project uses older versions of several libraries and Spring Boot.

Proposed Refactor

The upcoming refactoring process aims to modernize the application and introduce best practices. The roadmap includes:

  1. Library Upgrades: Update all outdated libraries to their latest stable versions.
  2. JDBC to JPA Transition: Migrate the data access layer from JDBC to JPA, leveraging the power of ORM and reducing boilerplate code.
  3. Security Enhancements: Introduce security measures to protect the API endpoints.
  4. Deployment Configurations: Set up configurations to streamline the deployment process.
  5. Docker Integration: In the future, the project will be containerized using Docker for easier deployment and scalability.

Getting Started

To set up the project locally:

  1. Clone the Repository:
    git clone https://github.com/dalgriff/credit-card-api.git
  2. Navigate to the Project Directory:
    cd credit-card-api
  3. Install Dependencies (assuming Maven is used):
    mvn install
  4. Run the Application:
    mvn spring-boot:run

Contributing

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.

License

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.

credit-card-api's People

Contributors

dalgriff avatar

Watchers

 avatar

credit-card-api's Issues

Set up the Development Environment

Ensure all tools, IDEs, and necessary software are installed and configured for the project.

Branch: feature/dev-setup
Labels: enhancement, setup

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.