finds.dev← search

// the find

Aksharadaram/Pharmacy-Management---B-trees

C · updated May 2025

Built a pharmacy inventory system in C using B-Trees to manage medications and suppliers efficiently. Added features like sales tracking, stock and expiry alerts, and supplier analytics with file handling for data persistence and performance optimization.

A pharmacy inventory system implemented in C using B-Trees for managing medications and suppliers. This is a student/academic project — a single 500-1000 line C file with flat-file persistence via text files. Not production software.

Uses B-Trees for indexed lookups rather than a naive linear scan, which is a reasonable data structure choice for keyed inventory; covers the expected feature set for a course project (stock alerts, expiry tracking, supplier analytics); file-based persistence means state survives between runs without a database dependency.

Zero documentation beyond the README one-liner — no API, no build instructions, no data format spec; single .c file with no tests, no Makefile, no CMake, nothing to tell you how to compile it; 0 stars and no forks signals this has not been used by anyone outside the author; flat text files as the persistence layer will fall apart on concurrent access or any non-trivial data volume.

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 →