Skip to content

Manishmbm2010/Banking_Service_Django_POC

Repository files navigation

Project : Home Banking System as a Service

Code provide "Home Banking solution" as a service that runs in a docker container.

Project Brief

There are total 3 services/entites

  1. Customer service will let you perform create/retrieve/update & delete customer
  2. Account service will let you perform create/retrieve/update & delete customer's account
  3. Credit Tranfer service will let you perform initiate payments and retrieve/update/delete existing payments

Technology stack

  1. Django Rest Framework for writing Rest API
  2. PyCharm for code development
  3. In build sqllite database for storing data
  4. pip for dependency management
  5. Docker for containring the solution

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment notes on how to deploy the project in your system

Prerequisites

Docker machine should be up and running. Docker compose should be installed

Run Test Cases(Total 16 test cases)

  1. In Conatiner
  1. Without Conatiner

during manually testing , if test has to be rerun again ,please execute below steps first

  • python manage.py shell
  • from django.contrib.auth.models import User
  • User.objects.get(username="admin", is_superuser=True).delete()

Deployment

  1. In Conatiner
  1. Without Conatiner

Admin user and password

  • user : admin
  • pass : password

Rest end points

Acknowledgments

Django has good documentation

Scope for improvement

  • This solution can be extended with the usage of persistent storage.
  • Exception handling can be improved.
  • Logging can be enhanced.
  • Comments can be added at many places to make the maintenace of code much simpler.

##Author

  • Manish Jain

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published