A backend-powered automation tool to generate custom Excel reports using FastAPI.
- Generate daily, weekly, and monthly reports from connected databases
- Export processed data to Excel format
- RESTful API endpoints using FastAPI
- Frontend UI for file uploads and date range selection
- Backend: Python, FastAPI
- Frontend: HTML, CSS (basic)
- Database: Microsoft SQL Server (Azure + Local)
- Excel Handling:
openpyxl,pandas
app/
βββ routes/ # API endpoints
βββ services/ # Excel processing logic
βββ static/ # Images and static files
βββ templates/ # HTML templates
βββ uploads/ # User uploaded Excel files
βββ output_files/ # Generated reports
βββ config_sample.ini # Sample DB config (real config excluded)
-
Clone the repo:
git clone https://github.com/your-username/report-generator.git cd report-generator -
Install dependencies:
pip install -r requirements.txt
-
Create a
config.inifile in theapp/folder using the format inconfig_sample.ini. -
Run the server:
uvicorn app.main:app --reload
- The real
config.iniis excluded from the repository for security. - Adjust database table names and credentials in your local
config.ini.
This project is for educational and demo purposes.