Clone:- https://github.com/joeworld/Stock-Finance-App.git
python manage.py show_urls
to check available urls or patterns for both user interfaces and api endpoints
With this simple django app, you will be able to perform the following task:-
- Register and Authenticate users.
- Users can look up a stock's current quote on IEX
- Users can look up a stock's current price(realtime)
- Users can purchase a stock(With money in their wallets)
- Get and Update User's wallet
- See the lists of purchased stocks
- Users can sell/share stocks
- Users can see their transactions made on the app
This application embibes both a user interface and a client api for commercial usage (Check out API Doc https://drive.google.com/open?id=1iM78FBSbk8qtPIJpy3sThv-kDQVk8nJx)
This application was built with PostgreSQL as DB but you can use other RDB by running migrations.
But if you choose to use the test database for this project check '''sampledb/trade.sql'''
PostgreSQL, also known as Postgres, is a free and open-source relational database management system emphasizing extensibility and technical standards compliance.
- Django==2.2.5 :- Powerful Python Web Framework
- django-extensions==2.2.1 :- Embibes Django extensions
- iexfinance==0.4.3 :- Open source IEX libary for python applications
- kiwisolver==1.1.0 :- A fast implementation of the Cassowary constraint solver
- matplotlib==3.1.1 :- Python 2D plotting library
- numpy==1.17.2 :- An efficient multi-dimensional container of generic data
- pandas==0.25.1 :- BSD-licensed library providing high-performance, easy-to-use data structures
- psycopg2==2.8.3 :- Psycopg is the most popular PostgreSQL database adapter for Python
- pyparsing==2.4.2 :- Python parsing module
- python-dateutil==2.8.0 :- Python Date Utilities
- pytz==2019.2 :- allows accurate and cross platform timezone calculations using Python
- requests==2.22.0 :- The requests library is the de facto standard for making HTTP requests in Python
- six==1.12.0 :- It provides utility functions for smoothing over the differences between the Python versions with the goal of writing
- sqlparse==0.3.0 :- SQL Parser
- urllib3==1.25.6 :- urllib3 is a powerful, sanity-friendly HTTP client for Python.
- zope.interface==4.6.0 :- This package provides an implementation of "object interfaces" for Python
This application is mainly built with python 3.7.4 All required dependencies are in
requirements.txt
Admin Url:- /admin Create login details with:-
python manage.py createsuperuser
- api/tests
- app/tests
python manage.py test
to run tests... More tests will be added soon
- Repository Design Patterns
- MVC