GithubHelp home page GithubHelp logo

docsperthealth's Introduction

DocspertHealth Account Management Web App

This is a Django web application for managing accounts. It allows users to import accounts from a CSV file, list all accounts, view account information, and transfer funds between accounts. The project uses both Django templates and Django REST Framework (DRF) views, and the API is documented using Swagger.

Features

  • Import Accounts: Upload a CSV file to import accounts.
  • List Accounts: View a list of all accounts.
  • Account Information: View details of a specific account.
  • Transfer Funds: Transfer funds between two accounts.

Project Structure

  • import_accounts.html: Template for importing accounts.
  • list_accounts.html: Template for listing accounts.
  • account_info.html: Template for viewing account information.
  • transfer_funds.html: Template for transferring funds.
  • views.py: Contains both Django template views and DRF views.
  • serializers.py: Serializers for the DRF views.

Django Template Views

  • ImportAccountsView: Handles the import of accounts from a CSV file.
  • ListAccountsView: Displays a list of all accounts.
  • AccountInfoView: Displays information about a specific account.
  • TransferFundsView: Handles the transfer of funds between accounts.

DRF API Views

  • ImportAccountsAPIView: API endpoint to import accounts from a CSV file.
  • ListAccountsAPIView: API endpoint to list all accounts.
  • AccountInfoAPIView: API endpoint to get account information.
  • TransferFundsAPIView: API endpoint to transfer funds between accounts.

API Documentation

The API is documented using Swagger. You can access the Swagger UI at /swagger/.

Running the Project

Prerequisites

  • Docker

  • Docker Compose

  • pip install -r requirements.txt

  • cd app

  • python manage.py migrate

  • python manage.py runserver

docsperthealth's People

Contributors

ahmedosama93 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.