Giter Site home page Giter Site logo

mohamedsalahdj / account-transfer Goto Github PK

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

The Account Transfer Task is a Django web application designed to facilitate fund transfers between accounts. It supports importing account data from CSV files, listing accounts, retrieving account details, and transferring funds between any two accounts.

Python 61.11% HTML 36.73% CSS 1.54% Dockerfile 0.62%
dajngo django-debug-toolbar unittest pagination

account-transfer's Introduction

Account Transfer Task

The Account Transfer Task is a Django web application designed to facilitate fund transfers between accounts. It supports importing account data from CSV files, listing accounts, retrieving account details, and transferring funds between any two accounts.

Functional Requirements

  1. Import Accounts from CSV Files:
  • Allows uploading a CSV file containing account details (ID, name, balance) to import accounts into the system.
  1. List All Accounts:
  • Displays a paginated list of all accounts currently stored in the system.
  1. Get Account Information:
  • Provides detailed information about a specific account, including its current balance.
  1. Transfer Funds Between Two Accounts:
  • Enables users to transfer funds from one account to another. Checks for sufficient balance and prevents transfers between the same account.

Installation

To run the Account-Transfer project locally, follow these steps:

  1. Clone the repository: Clone this repository to your local machine using the following command:

    git clone https://github.com/MohamedSalahdj/Account-Transfer.git
    
  2. Create a Virtual Environment (Optional): It's recommended to create a virtual environment to manage project dependencies. You can create one using virtualenv or venv:

    python -m venv myenv
    

    Activate the virtual environment:

    source myenv/bin/activate   # for Linux/Mac
    myenv\Scripts\activate.bat   # for Windows
  3. Install dependencies:

    pip install -r requirements.txt
  4. Make migration && migrate

    - python manage.py makemigrations
    -  python manage.py migrate
    
  5. Start the development server Start the Django development server:

python manage.py runserver

Running Tests

To run the test suite for the Account-Transfer project, follow these steps:

python manage.py test

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.