<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: TOQEER AHMED </title>
    <description>The latest articles on DEV Community by TOQEER AHMED  (@toqeer_ahmed01).</description>
    <link>https://dev.to/toqeer_ahmed01</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4281392%2F5a9910fb-bc1f-4662-8e73-eadaa18abb9a.jpg</url>
      <title>DEV Community: TOQEER AHMED </title>
      <link>https://dev.to/toqeer_ahmed01</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/toqeer_ahmed01"/>
    <language>en</language>
    <item>
      <title>Building a Self-Hosted School Management System with Python, Flask, and MySQL</title>
      <dc:creator>TOQEER AHMED </dc:creator>
      <pubDate>Thu, 03 Dec 2026 20:58:41 +0000</pubDate>
      <link>https://dev.to/toqeer_ahmed01/building-a-self-hosted-school-management-system-with-python-flask-and-mysql-3093</link>
      <guid>https://dev.to/toqeer_ahmed01/building-a-self-hosted-school-management-system-with-python-flask-and-mysql-3093</guid>
      <description>&lt;p&gt;Schools and training academies often struggle between expensive monthly SaaS subscriptions and messy manual spreadsheets. To solve this, I built and open-sourced a complete, lightweight &lt;strong&gt;School Management System (ERP)&lt;/strong&gt; using &lt;strong&gt;Python (Flask)&lt;/strong&gt; and &lt;strong&gt;MySQL/MariaDB&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;It is designed to run smoothly both on a &lt;strong&gt;local school network (LAN via XAMPP)&lt;/strong&gt; and in the &lt;strong&gt;cloud using Docker&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;🔗 &lt;strong&gt;GitHub Repository:&lt;/strong&gt; &lt;a href="https://://github.com" rel="noopener noreferrer"&gt;://github.com&lt;/a&gt;&lt;/p&gt;




&lt;h3&gt;
  
  
  📸 Dashboard Preview
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fgithubusercontent.com" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fgithubusercontent.com" alt="Administrator Dashboard" width="800" height="400"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fgithubusercontent.com" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fgithubusercontent.com" alt="Teacher Dashboard" width="800" height="400"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h3&gt;
  
  
  ✨ Key Architecture &amp;amp; Features
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Five Isolated Role-Based Portals:&lt;/strong&gt;&lt;br&gt;
Strict permission checks ensure &lt;strong&gt;Admins, Teachers, Students, Parents, and Staff&lt;/strong&gt; only see records scoped to their own classes, children, or assigned duties.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Smart Attendance with Timed 6-Digit Codes:&lt;/strong&gt;&lt;br&gt;
Teachers can launch a live attendance session generating a time-limited 6-digit code with live polling, or perform a direct manual roll call. Attendance reports export cleanly to &lt;strong&gt;CSV and PDF&lt;/strong&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Fee Invoicing &amp;amp; Audit-Safe Finance:&lt;/strong&gt;&lt;br&gt;
Supports recurring monthly tuition, one-time exam fees, partial cash payments, payment reference verification, and printable sequential receipts. Voided receipts preserve full audit history rather than deleting financial records.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Conflict-Free Timetables &amp;amp; Assignments:&lt;/strong&gt;&lt;br&gt;
Prevents overlapping class or teacher schedules automatically and allows teachers to upload class-scoped learning materials (PDF, DOCX, PPTX, XLSX, images) stored securely outside the public static directory.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Custom Academy Branding &amp;amp; Offline-First Assets:&lt;/strong&gt;&lt;br&gt;
Administrators can upload an academy logo, auto-sample theme colors, toggle dark mode, and download/restore database backups—all without relying on external runtime CDNs.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;




&lt;h3&gt;
  
  
  🚀 Quick Start (Docker or Local)
&lt;/h3&gt;

&lt;p&gt;You can spin up the entire stack with Docker Compose in seconds:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone https://://github.com.git
&lt;span class="nb"&gt;cd&lt;/span&gt; school-management-system
cp .env.example .env
docker compose up --build -d
docker compose &lt;span class="nb"&gt;exec&lt;/span&gt; app python seed.py
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h3&gt;
  
  
  🤝 Feedback &amp;amp; Contributions
&lt;/h3&gt;

&lt;p&gt;The project is licensed under the &lt;strong&gt;MIT License&lt;/strong&gt; and includes a full &lt;code&gt;pytest&lt;/code&gt; suite running via GitHub Actions. &lt;/p&gt;

&lt;p&gt;If you find this project helpful or plan to use it for an academy, please consider giving it a &lt;strong&gt;⭐ Star on GitHub&lt;/strong&gt;:&lt;br&gt;
👉 &lt;a href="https://://github.com" rel="noopener noreferrer"&gt;https://://github.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I would love to hear your thoughts or feature suggestions in the comments!&lt;/p&gt;

</description>
      <category>python</category>
      <category>flask</category>
      <category>webdev</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
