SIRDCAT is a web application built with Django and Angular, designed as an internal tool for Citibank to automate the creation of regulatory reports. This application streamlines a process that was previously manual, reducing the time needed to generate reports from hours to seconds.
- Upload Data: Users upload the necessary data files (e.g., .txt, .xls) on the resource page for the report they want to generate.
- Data Processing: The uploaded data is cleaned and prepared using pandas.
- Generate Report: Users navigate to the Workflow page to generate the final report. Currently, the application supports the creation of the report 'AT04 - Cartera de Credito'.
- Download Report: Users can download the report as a .txt file in the required regulatory format.
- Node.js v12
- Python 3.7
-
Clone the repository:
git clone https://github.com/BAXTOR95/at-lrr.git cd at-lrr/backend
-
Create and activate a virtual environment:
python -m venv venv source venv/bin/activate # On Windows use `venv\Scripts\activate`
-
Install the required Python packages:
pip install -r requirements.txt
-
Apply migrations:
python manage.py migrate
-
Create a superuser:
python manage.py createsuperuser
-
Run the backend server:
python manage.py runserver
-
Navigate to the frontend directory:
cd ../frontend
-
Install the required Node.js packages using Yarn:
yarn install
-
Run the frontend server:
yarn start
- Open a web browser and navigate to
http://localhost:8000
for the backend andhttp://localhost:4200
for the frontend. - Log in with your superuser credentials.
- Upload the necessary data files on the resource page.
- Navigate to the Workflow page to generate and download the 'AT04 - Cartera de Creditos' report.
If you encounter any issues with proxy settings or specific package installations, refer to the detailed installation steps in the notes section of this README.
Feel free to submit issues, fork the repository and send pull requests.
This project is licensed under the MIT License - see the LICENSE file for details.