finds.dev← search

// the find

ananta6d595/Mini-Shop-Management-System

C · updated Aug 2021

Mini Shop manager

A single-file console C program implementing a basic shop management system with hardcoded admin and user credentials. Lets an admin add/edit/delete products stored in a flat file, and lets a user browse, cart, and print a receipt. Student coursework, not a usable tool.

File-based persistence means data survives between runs without a database. The cart operations (add, update, delete) are a reasonable exercise in C struct/file I/O. Single-file layout makes the code easy to read from top to bottom without navigating a project structure.

Credentials are hardcoded in plaintext ('ad'/'pass') with no way to add users — this is explicitly flagged as a future TODO that was never done. Zero stars, zero forks, last touched August 2021, so it's effectively abandoned. No input validation means buffer overflows are likely given typical C beginner code. The entire system is a single .c file with no tests, no build system, and no separation of concerns — not a foundation you'd extend.

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 →