This Python-based banking application allows users to request the generation of a PDF file showcasing their transactions within a specified date range.
- Python: The core programming language driving this application, known for its readability and versatility.
- FastAPI: A high-performance web framework with automatic documentation and type safety, making it ideal for API development.
- Reportlab: A powerful library for PDF generation.
Make sure you have Python 3.10 installed and have extracted the zip of this project. Install the required libraries using:
pip install -r requirements.txt
bash ./run.sh
transactions.csv
is located inside the root directory. It is used here as data source for this project.
You can test the APIs over here
To enhance the security of this banking application. FastAPI provides OAuth2PasswordBearer for token-based authentication. Users need to obtain a token by providing their username and password.