finds.dev← search

// the find

ShravyaPuram/Pharmacy-Inventory-Management-System

★ 1 · C · updated May 2025

This project is a C-based Pharmacy Inventory Management System using B+ Trees that helps manage medications, suppliers, stock levels, and sales tracking efficiently.

A student project implementing a pharmacy inventory system in C using B+ trees for medication, supplier, and sales data. One source file, one flat text file for persistence. This is coursework, not production software.

- Choosing B+ trees for inventory lookup is a reasonable data structure decision — O(log n) searches with good cache behavior for range queries like expiry date ranges

- Expiry date sorting is a practical feature that maps naturally to a B+ tree's ordered traversal

- Plain C with a single compilation step means zero dependency friction to build and run

- Single flat text file for persistence is a fragile non-starter — no atomicity, no crash recovery, any write failure corrupts everything

- One 'Code.c' (renamed pharmacy.c in the tree) file for the entire system means the B+ tree implementation, UI loop, file I/O, and business logic are all tangled together with no separation

- No test suite, no validation of inputs, no error handling visible from the README — typical of a class submission that was never meant to run in adversarial conditions

- 1 star, 0 forks, last touched May 2025 — this is a homework submission that was pushed to GitHub, not an open-source project with any adoption or maintenance intent

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 →