finds.dev← search

// the find

Jdsb06/Stack-Underflow

C · updated Dec 2024

Warehouse Management System

A C + MySQL warehouse management system built as a student project (0 stars, December 2024). It covers the basics: inventory CRUD, purchase and customer orders, transaction history, and some Python/Matplotlib charts bolted on for statistics. Target audience is anyone grading it.

Clear module separation — one .c/.h pair per domain (master, user, order_c, order_p, transaction, statistics) makes the structure easy to follow. Includes a Makefile, so it actually builds with one command. The SQL schema file is included, which is more than many student projects bother with. Python scripts for visualization are a reasonable choice rather than trying to render charts in a C terminal.

Zero production viability: admin credentials are almost certainly hardcoded or stored in plaintext, and there is no indication of prepared statements, meaning SQL injection is likely throughout. The two-runtime dependency (C binary + Python scripts invoked separately) is awkward and brittle — no IPC, just shelling out or manual steps. No error handling story beyond what MySQL's C connector returns; a failed DB connection probably crashes the process. This is a course assignment, not a library or tool anyone would adopt.

View on GitHub →

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →