Giter Site home page Giter Site logo

bankaccountapi's Introduction

Bank Account Project

Overview

This exercise is designed to test your ability to create a RESTful API for managing bank accounts. You will be required to create endpoints that allow users to retrieve account information, add deposits, create withdrawals, and transfer money between accounts. You will also need to implement a process for calculating daily interest on account balances.

Acceptance Criteria

  • Create a RESTful API that allows users to:
    • Get bank account info, including current balance, transaction list, and interest earned
    • Add deposits to an account
    • Create withdrawals from an account
  • Transfer money between accounts

Design Process

To implement the daily interest feature, you will need to create a function that runs on a daily basis to calculate the interest earned by each account holder. You will also need to create a database table or data model that tracks the account balance, interest rate, and date of last interest calculation. The function should calculate the interest earned since the last calculation date and update the account balance accordingly.

Instructions

  1. Clone this repository to your local machine.
  2. Implement the RESTful API according to the acceptance criteria.
  3. Create a data model or database table to track account balances, interest rates, and last interest calculation dates.
  4. Implement the daily interest calculation process.
  5. Write tests for your implementation

Evaluation Criteria

  • Your implementation should meet all of the acceptance criteria listed above.
  • Your code should be well-organized and easy to read.
  • You should use appropriate naming conventions for variables, functions, and endpoints.
  • Your code should be well-documented with clear comments and/or README files.
  • Your implementation should be secure and protect against common vulnerabilities such as SQL injection and cross-site scripting (XSS) attacks.

bankaccountapi's People

Contributors

jstonecipher-silac avatar justinstonecipher 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.