MaheshAIML /
Flask-Smart-Calculator
Built a responsive Flask-based calculator web app integrating Python backend logic with modern HTML/CSS UI and form handling.
42/100 healthLoading repository data…
GonelaHarshithRaj19 / repository
A Flask-based Smart Task Management System with PostgreSQL, REST APIs, real-time WebSocket notifications, and task analytics using Pandas & NumPy.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
A complete web-based task management system built with Flask, PostgreSQL, and modern web technologies. Features real-time updates via WebSockets, advanced analytics using Pandas and NumPy, and a responsive user interface.
User Authentication
Task Management
Real-time Updates
Analytics Dashboard
Responsive Design
REST API
smart-task-manager/
├── app/
│ ├── models/
│ │ └── __init__.py # Database models (User, Task)
│ ├── routes/
│ │ ├── __init__.py # Route blueprints
│ │ ├── auth.py # Authentication routes
│ │ └── task.py # Task API routes
│ ├── templates/
│ │ ├── register.html # Registration page
│ │ ├── login.html # Login page
│ │ └── dashboard.html # Main dashboard
│ ├── static/
│ │ ├── css/
│ │ │ └── style.css # Main stylesheet
│ │ └── js/
│ │ └── main.js # Frontend JavaScript
│ └── __init__.py
├── database/
├── utils/
├── app.py # Flask application factory
├── config.py # Configuration settings
├── requirements.txt # Python dependencies
└── README.md # This file
Selected from shared topics, language and repository description—not editorial ratings.
MaheshAIML /
Built a responsive Flask-based calculator web app integrating Python backend logic with modern HTML/CSS UI and form handling.
42/100 healthSujanakola /
Seam carving is a smart image resizing technique that removes paths of least importance for better scaling. This project showcases seam carving with a Java backend and a Flask-based web interface in Python.
34/100 healthcd smart-task-manager
# On Windows
python -m venv venv
venv\Scripts\activate
# On macOS/Linux
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
For detailed PostgreSQL setup instructions, see POSTGRES_SETUP.md
Quick Setup (Windows):
psql -U postgres
CREATE DATABASE smart_task_manager;
\q
.env file:DATABASE_URL=postgresql+psycopg://postgres:YOUR_PASSWORD@localhost:5432/smart_task_manager
YOUR_PASSWORD with your PostgreSQL passwordUse the initialization script to create tables and add sample data:
# Create tables
python init_db.py
# Create tables + add sample data
python init_db.py --seed
Login with test credentials (if seed data was added):
testuserpassword123python run_app.py
The application will start at http://localhost:5000
Available Commands:
python run_app.py - Start the applicationpython test_api.py - Run API tests (app must be running)python init_db.py --seed - Add sample dataView Tasks:
Edit Tasks:
Delete Tasks:
POST /auth/register - User registration
POST /auth/login - User login
GET /auth/logout - User logout
GET /auth/profile - View user profile
GET /api/tasks - Get all tasks (with optional filters)
GET /api/tasks/<id> - Get single task
POST /api/tasks - Create new task
PUT /api/tasks/<id> - Update task
DELETE /api/tasks/<id> - Delete task
GET /api/tasks/stats - Get task statistics
status: Filter by status (pending, in_progress, completed)priority: Filter by priority (low, medium, high)sort_by: Sort by field (created_date, due_date, priority)Get All Tasks:
curl -X GET http://localhost:5000/api/tasks \
-H "Content-Type: application/json"
Create Task:
curl -X POST http://localhost:5000/api/tasks \
-H "Content-Type: application/json" \
-d '{
"title": "Buy groceries",
"description": "Milk, eggs, bread",
"priority": "high",
"due_date": "2026-05-15"
}'
Update Task:
curl -X PUT http://localhost:5000/api/tasks/1 \
-H "Content-Type: application/json" \
-d '{
"status": "completed",
"priority": "medium"
}'
Get Analytics:
curl -X GET http://localhost:5000/api/tasks/stats \
-H "Content-Type: application/json"
Edit config.py to customize:
# Secret key for sessions
SECRET_KEY = 'your-secret-key-here'
# Database connection
SQLALCHEMY_DATABASE_URI = 'postgresql://user:password@localhost:5432/db_name'
# Session settings
PERMANENT_SESSION_LIFETIME = timedelta(days=7)
# WebSocket settings
SOCKETIO_ASYNC_MODE = 'threading'
The analytics module uses Pandas and NumPy to calculate:
Server-side Events:
task_created: Emitted when a new task is createdtask_updated: Emitted when a task is updatedtask_deleted: Emitted when a task is deletedClient-side Events:
connect: Triggered when client connectsdisconnect: Triggered when client disconnectsProblem: psycopg2.OperationalError: could not connect to server
Solution:
config.pyCREATE DATABASE smart_task_manager;Problem: OSError: [Errno 48] Address already in use
Solution:
Modify the port in app.py:
socketio.run(app, host='0.0.0.0', port=5001, debug=True)
Problem: ModuleNotFoundError: No module named 'flask'
Solution: Reinstall dependencies:
pip install -r requirements.txt
Problem: WebSocket connection errors in browser console
Solution:
config.pyCreate a .env file for sensitive configuration:
SECRET_KEY=your-secret-key
DATABASE_URL=postgresql://user:password@localhost:5432/smart_task_manager
FLASK_ENV=development
Load in config.py:
from dotenv import load_dotenv
load_dotenv()
FLASK_ENV=production
DEBUG=False
SESSION_COOKIE_SECURE=True
pip install gunicorn
gunicorn --worker-class eventlet -w 1 app:app
Configure HTTPS using reverse proxy (Nginx, Apache)
Database: Use hosted PostgreSQL service (AWS RDS, Heroku, etc.)
This project is provided as-is for educational and development purposes.
For issues or questions:
Start managing your tasks efficiently with the Smart Task Management System!
Happy tasking! 📋✨