smsread
import logging
from gunicorn.app.base import BaseApplication
from app_init import app
# IMPORT ALL ROUTES
from routes import *
# Setup logging
logging.basicConfig(level=logging.INFO)
logger = logging.getLogger(__name__)
class StandaloneApplication(BaseApplication):
def __init__(self, app, options=None):
self.application = app
self.options = options or {}
super().__init__()
def load_config(self):
# Apply configuration to Gunicorn
for key, value in self.options.items():
if key in self.cfg.settings and value is not None:
self.cfg.set(key.lower(), value)
Created: | Last Updated:
Transaction Notification Dashboard Template Guide
This template creates a dashboard for processing and displaying transaction notifications from SMS messages, specifically focusing on records from "Libyana". The dashboard includes user authentication, profile management, and a transaction history view.
Getting Started
- Click "Start with this Template" in the Lazy Builder interface to begin
Test the Application
- Click the "Test" button in the Lazy Builder interface
- The application will deploy and provide you with a server link to access the dashboard
Using the Dashboard
- Access the provided server link to view the landing page
- Click "Log in" to authenticate using your email
- Once logged in, you'll have access to:
- Profile page: View your user information and profile picture
- Transactions page: View a table of all transactions including:
- Date/Time
- Phone Number
- Amount
- Status
- Use the sidebar navigation to switch between different sections
- Logout option is available in both the sidebar and top-right corner
The dashboard provides a clean, responsive interface that works on both desktop and mobile devices. The transaction history is displayed in an organized table format, making it easy to track and monitor SMS-based transactions from Libyana.
Template Benefits
- Streamlined User Management & Authentication
- Secure user authentication system with email-based login
- Efficient profile management with photo storage capabilities
-
Reduces development time for implementing user authentication features
-
Transaction Monitoring & Analysis
- Real-time tracking of financial transactions
- Organized display of transaction history with key details (timestamp, amount, status)
-
Enables better financial decision-making through transparent transaction records
-
Scalable Database Architecture
- Well-structured SQL database design for users and transactions
- Efficient relationship mapping between users and their transactions
-
Easy to extend for additional features or data requirements
-
Responsive Multi-Device Interface
- Mobile-friendly design with adaptive sidebar
- Consistent user experience across desktop and mobile devices
-
Professional UI with modern styling and smooth transitions
-
Enterprise-Ready Infrastructure
- Production-grade server configuration with Gunicorn
- Built-in logging system for monitoring and debugging
- Optimized worker configuration for handling multiple concurrent users
Technologies




