Giter Site home page Giter Site logo

cfg-project's Introduction

Code First Girls Peer To Peer Project


Team Members

Becca Starr

Ingrid Kovacs

Karina Golovlova

Nelli Zsoldos

Sheryl Leslie

Project Management

We used jira to track our work. Our project is here.

We also kept a project criteria tracker here.

Overview

Summary

We have created a basic peer-to-peer community lending application called 'Lendr'. It enables a user to sign up with an account, and request to lend or borrow a sum of money with a desired interest rate.

The request generates an 'order'. If a "lend" order corresponds with one or more "borrow" orders, they are matched andd a "contract" is created between the users who have placed an order. A user can view their orders and contracts on their personal account page. They can also delete any unmatched orders from this page.

Additionally, the user can view the current status of the "Fear and Greed Index", which is a tool created by CNN Money based on the assertion that the stock market is driven by those emotional states. The intent is to demonstrate that people should avoid organising loans with their banking institutions and instead manage loans via community lending.

Framework

The application is based on the Flask framework with some extension modules, including:

  • Flask-SQL Alchemy to enable better integration with the SQLAlchemy database toolkit
  • Flask-Login and Werkzeug security modules for user authentication and password hashing
  • w, either click the link in your terminal, or open your browser and go to http://localhost:5000. Please note that the appli
  • Several SQLAlchemy extensions including sqalchemy-orm for Object Relational Mapping, sqlalchemy-utils providing assorted utility functions, and mock-alchemy to assist with the accompanying test suite.

External API

The integration for the external API has been built using the following:

Testing

A suite of unit tests has been created and the files are stored in the /tests folder.


Running the Application

Local Set up

  1. clone the project in PyCharm
  2. follow the Pycharm prompts to create the virtual environment
  3. run pip install -r requirements.txt from your terminal

Database

  1. open db_config.py
  2. replace the username and password with the ones you use for your local MySql database
  3. you can now proceed with running the application

Local Running

From PyCharm:

open app.py and click run

From Terminal:

run python app.py

Accessing

The application should now be running on port 5000. To view, either click the link in your terminal, or open your browser and go to http://localhost:5000.

Please note that the application is best viewed in Google Chrome or any other chrome-based browser.

cfg-project's People

Contributors

ingridkvcs avatar big-d0g avatar sheryllleslie avatar zsnelli 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.