Git Product home page Git Product logo

loan-management-system's Introduction

Loan Management System

A simple API to manage loan payments for a fintech

Build Status codecov Updates Python 3 Code style: black License

Features

  • Loan management
  • Payments control
  • Outstanding balance

Deploy

This application can be deployed to Heroku with just one click at the button. ๐Ÿฅณ

Deploy

For more deploy options take a look at Django's official documentation.

Development

The following guidelines will help you to have a copy ready and running of the project so you can play around, make changes and improvements.

Installing and Running

The application was built using Django framework with Django-Rest framework extension. It shares the same basic characteristics and requirements any other Python software based on Django.

Requirements

These are optional but recommended.

Installing

First, you need a copy of the source code, you can download it here or clone the project. To clone the project you need Git, if you don't have it installed go to the official site and follow the instructions, if you already have it just open a terminal application and enter the following commands.

$ cd desired/path/
$ git clone https://github.com/squad-4/loan-management-system

The next step is install the project's Python dependencies. Just like Git if you still don't have it go to the official site and get it done. You'll also need Pip, same rules applys here. Another interesting tool that is not required but strongly recommended is Pipenv, it helps to manage dependencies and virtual envinronments.

Installing with Pip:

$ cd path/to/loan-project
$ pip install --upgrade django djangorestframework  # and any other optional packages

Installing with Pipenv:

$ pip install --upgrade pipenv
$ cd path/to/loan-project
$ pipenv sync -d

Finally, configure the application. This will require you to define a few variables and create the database.

Note 1 - If you are using Pipenv you need to start a shell loading the apps virtual environment before run any Python command. Just enter the following.

$ pipenv shell

Note 2 - By default Django applications uses SQLite, but you can use any other supported database, take a look here to choose one. For the purpose of this example we will use the default (SQLite) and assuming it's already installed.

$ python manage.py migrate

Running

Django has a development server to make it easy run applications for testing and debug.

$ python manage.py runserver

That's it!

Contributing

If you intend to contribute, instead of just making a copy from the original repository you have to fork the project on GitHub into your own account, then clone from the fork and send pull requests with your changes.

Two of the optional dependencies become mandatory, Black and Pre-commit, you need to install them in order to validate the coding style adopted by the project. If you are using Pipenv you may already have them, otherwise run pip install --upgrade black pre-commit.

Install Pre-commit rules.

$ cd path/to/loan-project
$ pre-commit install  # remember to load a shell first if using Pipenv

About

This project is part of the final challenge for the Acelera DEV - Python para Web program promoted by Codenation running between april and may of 2019.

The project specification is available here.

Authors

License

This project is licensed under the GNU License - see the License file for details.

loan-management-system's People

Contributors

pyup-bot avatar julianolf avatar caioct avatar ericrommel avatar fhpimenta avatar wgalleti avatar dependabot[bot] avatar

Watchers

James Cloos 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.