Day 8/30 — Symptom Checker System (Python + MySQL) Most health apps feel smart… but behind the scenes, they rely on simple logic. So I built one from scratch. 🔹 Project Overview: Developed a backend Symptom Checker System using Python and MySQL that analyzes user-input symptoms and predicts possible diseases based on matching logic. The system simulates real-world healthcare workflows with authentication, history tracking, and severity-based results. 🔹 Tools Used: Python | MySQL | SQL | CLI | Hashing | Logging 🔹 Key Features: • Implemented secure user authentication (SHA-256 hashing) • Designed relational database for diseases and symptoms • Built symptom-to-disease matching algorithm • Calculated match percentage for accurate predictions • Stored user history for tracking past results • Created admin panel for managing medical data • Integrated severity-based disease classification • Added logging for system monitoring 🔹 What I Learned: • Backend system design with real-world logic • Database relationships and query optimization • Authentication and security implementation • Building rule-based recommendation systems • Structuring scalable CLI applications 🔗 GitHub Repository: https://lnkd.in/duF38d8B Would appreciate your feedback and suggestions. #30DaysOfCode #PythonProjects #BackendDevelopment #MySQL #DataStructures #SystemDesign #PortfolioProject #PythonLearning
More Relevant Posts
-
PyAdminer Tired of fighting phpMyAdmin—or lugging a heavy desktop client—just to work with MySQL? I’ve been building PyAdminer: a lightweight Python + Flask web UI for MySQL and MariaDB. Think Adminer-style browsing and editing, with extras for day-to-day database work. Here’s what stands out: → Built-in optional AI: natural language → suggested SQL (configurable, can be turned off). → Full database and table workflows—structure with indexes and foreign keys, filters, and safe edit/delete using real primary keys (including composite keys). → A SQL command panel, plus an optional AI assistant that suggests SELECT queries from plain English. You choose the provider in settings; admins can turn it off entirely. → Visualize tab: column profiles, charts (categorical, time series, scatter), and pivots. → Impact, Quality, and Diff views—foreign-key relationships, duplicate keys, orphan checks, and table comparison. → A rich data grid: numeric heatmaps, plus expanders for JSON and long text. → ER diagrams (Mermaid), plus an Advanced panel for views, routines, triggers, and events. → Exports to CSV and SQL, optional read-only mode, HTTP Basic Auth, rate limits, an audit log, and a /health endpoint for monitoring. MIT licensed. Easy to self-host—including Docker for a quick local stack. If you live in dashboards and terminals, this might cut a few context switches. Repository: https://lnkd.in/g5Nd8Fsy Stars, issues, and pull requests welcome—I’d love more eyes on MySQL/MariaDB tooling in open source. #OpenSource #Python #Flask #MySQL #MariaDB #DatabaseTools #DevOps
To view or add a comment, sign in
-
Today I completed a major upgrade to my Inventory Management API — moving from an in-memory CRUD system to a fully database-backed backend using Flask and MySQL. What started as a simple API using Python dictionaries evolved into a structured backend system with: Layered architecture (routes, service, storage) MySQL integration using mysql-connector-python Dynamic update handling Input validation and field control Proper HTTP status codes Unique constraint handling with conflict responses The most important learning was not writing SQL or Flask routes — it was understanding how to design systems: Why database operations don’t behave like in-memory structures How to safely execute queries using parameterized statements Why constraints (like unique fields) must be handled at both database and application level How small design decisions (like structure) make future changes easier One key takeaway: Refactoring early made a huge difference. Because I separated routes, service, and storage layers, replacing the in-memory storage with MySQL was smooth instead of painful. What I initially thought would take multiple days, I was able to complete in a single focused session — not because it was easy, but because the foundation was strong. Next steps: Add authentication (user/admin roles) Deploy the API Build more backend-focused systems This project marks a shift for me — from learning syntax to building real backend systems. https://lnkd.in/gkPHWzPB #BackendDevelopment #Python #Flask #MySQL #APIs #LearningByBuilding
To view or add a comment, sign in
-
🚀 Built Lightweight Async ORMs for FastAPI (Inspired by LoopBack) While working on FastAPI projects, I got an idea based on my previous experience with LoopBack — what if we could have a simpler ORM with: minimal boilerplate built-in relation loading and straightforward query syntax So I built two async ORMs: oceanic-mysql-orm — built on aiomysql oceanic-postgres-orm — built on asyncpg 💡 Key Features Async-first (no session management) Automatic relation loading (no N+1 issues) Auto-migrate (additive only — never drops columns) Simple dict-based query system SQL echo mode for debugging ⚡ Example users = await connector.find(User, { "where": {"status": "active"}, "include": ["posts"], "limit": 20 }) 🔥 PostgreSQL Extras Soft deletes (deleted_at handled automatically) Raw SQL support when needed Nested includes (orders.items.product) Advanced filters (ilike, regexp, between) ⚠️ Scope This is intentionally designed for simplicity: No complex JOIN builder No multi-database abstraction SQLAlchemy is still a great choice for large, complex systems. This is aimed at the 80% use case where you want to build and ship quickly. 📦 Installation pip install oceanic-mysql-orm pip install oceanic-postgres-orm 🚧 Status Both packages are v1 (early stage). They’re functional, but I’d really value feedback from developers working with FastAPI. 🔗 Full Guide Complete usage guide here: https://lnkd.in/dj5eY4aN
To view or add a comment, sign in
-
Day 10/30 — Social Network Analyzer (Python + MySQL) 🔹 Project Overview: Developed a Social Network Analyzer system using Python and MySQL to model user relationships, analyze connections, and recommend new links using graph-based algorithms. 🔹 Tools Used: Python | MySQL | Data Structures | Graph Algorithms | NetworkX | Matplotlib 🔹 Key Features: • Designed relational database to manage users and connections • Built graph structure to represent real-world relationships • Implemented BFS to find shortest connection paths • Identified mutual connections between users • Developed recommendation engine based on shared connections • Added network visualization for interactive analysis • Created CLI-based interface with clean and colored output 🔹 What I Learned: • Applying graph algorithms in real-world scenarios • Working with MySQL for structured data management • Building scalable backend logic using Python • Visualizing relationships using network graphs • Designing modular and maintainable code 🔗 GitHub Repository: https://lnkd.in/dpSCzhQG Would appreciate your feedback and suggestions 🙌 #30DaysOfCoding #PythonProjects #SQL #DataStructures #BackendDevelopment #LearningByDoing
To view or add a comment, sign in
-
🚀 Built my first CRUD API using FastAPI + MySQL and deployed it on Render! 🌐 Live URL: https://lnkd.in/gHKJaCXx Today I created a REST API with full CRUD operations using Python (FastAPI) and MySQL as the database, and deployed it using Render. What I built: ✔ GET → Read data from MySQL ✔ POST → Insert data into MySQL ✔ PUT → Update existing records ✔ DELETE → Remove records from MySQL Deployment: 🌐 Hosted on Render This project helped me understand how backend systems work in real-world applications—from API design to database integration and deployment. Key learnings: - REST API design principles - CRUD operations with MySQL - FastAPI backend development - Deploying applications on Render It’s a simple project, but it reflects real-world backend architecture. Next step: add authentication and improve security. #Python #FastAPI #MySQL #CRUD #BackendDevelopment #Render #Deployment #RESTAPI
To view or add a comment, sign in
-
-
If you’re still building SQL queries using string concatenation… you’re making your life harder than it needs to be. Not because SQL is bad - but because treating queries like strings is an engineering liability. It works in dev. It breaks in production. Developers are still duct-taping raw queries together like this: "𝗦𝗘𝗟𝗘𝗖𝗧 * 𝗙𝗥𝗢𝗠 𝘂𝘀𝗲𝗿𝘀 𝗪𝗛𝗘𝗥𝗘 𝗮𝗴𝗲 > " + 𝘀𝘁𝗿(𝘂𝘀𝗲𝗿_𝗶𝗻𝗽𝘂𝘁) If your queries depend on + 𝘀𝘁𝗿(𝘂𝘀𝗲𝗿_𝗶𝗻𝗽𝘂𝘁): you’re not just writing brittle code - you’re opening the door to bugs and injection risks. On the flip side, bringing in a massive ORM just to handle a few complex joins is severe overkill. I’ve been there: • Debugging messy query strings • Chasing silent bugs • Rewriting the same logic again and again You need a middle ground. That’s where 𝗣𝘆𝗣𝗶𝗸𝗮 comes in. 𝗣𝘆𝗣𝗶𝗸𝗮: It’s a pure SQL query builder that sits in the perfect sweet spot and gives you structure without losing control: ✅ Writes in pure Python ✅ Natively parameterizes inputs (safer, avoids injection issues) ✅ Makes queries highly composable (letting FastAPI and Pydantic handle the rest) I broke down exactly why this tool is a massive upgrade over raw strings and when you should (and shouldn't) use it. Breakdown in the carousel 👇 Curious - how are you handling dynamic SQL today? #Python #SQL #DataScience #DataEngineering #BackendEngineering #SoftwareArchitecture #TechTips
To view or add a comment, sign in
-
##When the System Crashes, the Real Learning Begins! 🚀💻 I am thrilled to share my latest project: SmartFood – A Full-Stack Food Waste Management System built to bridge the gap between food donors and NGOs. While the final result looks clean, the journey was full of "system-breaking" bugs, configuration nightmares, and deep-dive debugging sessions 🛠️ The Tech Stack: Backend: Python (Flask) Database: MySQL (XAMPP) Frontend: HTML5 & CSS3 (Modern Dark Theme) ## Major Technical Hurdles & How I Fixed Them: The MySQL Port Conflict: One of the trickiest parts was the MySQL connection. My system was conflicting between default ports, and the app kept failing to connect. I had to manually reconfigure the MySQL Port (3306/3307) and update the Connection Strings in the backend to ensure a stable handshake between Flask and XAMPP. Configuration & .ini Files: Managing database credentials and environment settings was another challenge. I implemented a structured Config approach to handle database parameters, making the app more secure and easier to deploy across different local environments. The "Unknown Column" Crash: A persistent "Unknown column 'id' in order clause" error crashed the entire reporting system. I solved this by refactoring my SQL queries and ensuring the Database Schema was perfectly synced with my Flask models 💡 Key Features: 1) Donor Dashboard: Real-time "Accept/Reject" claim system for surplus food. 2)NGO Portal: Interactive cards for browsing donations and public hunger reports. 3) Admin Control: Automated Date-wise (Today/Monthly) reports to track social impact. 📈 What this project taught me:🤝 Environment Management: Dealing with Ports and Config files is as important as writing the logic. Resilience: Errors like 404s and SQL crashes are just tutorials in disguise. Problem-Solving: Making a system "crash-proof" is where the real engineering happens.
To view or add a comment, sign in
-
-
The last two mssql-python releases shipped big features: Bulk Copy in 1.4 for high-throughput data loading, and Apache Arrow in 1.5 for zero-copy analytics. Version 1.6 is about what happens next: you take those features into production, scale up your thread pool, and find out where the driver was quietly holding you back. https://lnkd.in/d-snaHPW
To view or add a comment, sign in
-
📅 Day 14/30 — BookStore-Management-API(FastAPI + MySQL) 🔹 Project Overview: Built a complete BookStore-Management-API using Python (FastAPI) and MySQL. The system enables users and sellers to interact through a role-based structure, allowing book management, purchasing, and real-time business insights via an admin dashboard. 🔹 Tools Used: Python (FastAPI) | MySQL | SQLAlchemy 🔹 Key Features: • Role-based user system (User & Seller) 👥 • Book management system (add, update stock) 📚 • Purchase system with stock validation 🛒 • Admin dashboard with business metrics 📊 • Revenue tracking (total & daily) 💰 • Clean API design with form-based inputs ⚡ 🔹 What I Learned: • Designing REST APIs using FastAPI • Connecting Python with MySQL using SQLAlchemy • Implementing role-based logic in backend systems • Handling real-world scenarios like stock & transactions • Building admin analytics for business insights 🔗 GitHub Repository: https://lnkd.in/d4XAJZ2W #DataAnalytics #FastAPI #PythonProjects #SQL #BackendDevelopment #30DaysOfCoding 🚀
To view or add a comment, sign in
-
𝗢𝗻𝗲 𝘀𝗺𝗮𝗹𝗹 𝗲𝗿𝗿𝗼𝗿 𝘁𝗮𝘂𝗴𝗵𝘁 𝗺𝗲 𝗮 𝗯𝗶𝗴 𝗹𝗲𝘀𝘀𝗼𝗻 𝗮𝗯𝗼𝘂𝘁 𝗱𝗲𝗯𝘂𝗴𝗴𝗶𝗻𝗴 🚀 Today while solving a SQL problem on LeetCode, I ran into this: TypeError: write() argument 1 must be unicode, not str At first glance, it looked like I had completely messed up. I rechecked my query. Tried different approaches. Still the same error. Then I realized the real issue… I had used ROWID — which works perfectly in Oracle. But LeetCode runs on MySQL, where ROWID doesn’t exist. And instead of a clear SQL error, it threw a Python error. That’s what made it confusing. That moment taught me something important: Not all errors mean your logic is wrong. Sometimes, you just need to understand the environment you’re working in. Debugging isn’t only about fixing code… It’s about thinking deeper and asking the right questions. Back to learning 🚀 #SQL #Debugging #LeetCode #BackendDevelopment #LearningJourney #ProblemSolving
To view or add a comment, sign in
-
Explore related topics
Explore content categories
- Career
- Productivity
- Finance
- Soft Skills & Emotional Intelligence
- Project Management
- Education
- Technology
- Leadership
- Ecommerce
- User Experience
- Recruitment & HR
- Customer Experience
- Real Estate
- Marketing
- Sales
- Retail & Merchandising
- Science
- Supply Chain Management
- Future Of Work
- Consulting
- Writing
- Economics
- Artificial Intelligence
- Employee Experience
- Workplace Trends
- Fundraising
- Networking
- Corporate Social Responsibility
- Negotiation
- Communication
- Engineering
- Hospitality & Tourism
- Business Strategy
- Change Management
- Organizational Culture
- Design
- Innovation
- Event Planning
- Training & Development