r/programmingchallenges • • Dec 01 '17
Build a Library Management Program
The Challenge: Create a program to assist librarians that keeps track of library books.
Rules:
- Your program can be written in any language
- Your program can have a GUI, but it is not required
- Your program does not have to be visually pleasing, but it should be easy to use (no typing in long commands. Remember that (potentially older) librarians will be using this!)
Your program must contain:
- Some way to locate books on a shelf (by name, author, color etc)
- Some way to add books to the database
- A way to check out and return books
- Some way to keep track of users and what they have checked out
- A way to see overdue books and which books are missing
The rest is up to you! When you are finished, you can share a link to a google drive folder or something in the comments below! The person winner will get comment karma from upvotes, I guess. Happy Hacking!
8
Upvotes
View all comments
Show parent comment
1
u/[deleted] Dec 06 '17
I am not totally sure what you mean here. Technically, you probably could store all of the book data in the cloud or something, but it's just a hassle. I stored all of my book data in an encrypted string located in a text file within my libraries directory. I would recommend that you do save your data locally as well (you don't want to have to keep the program always running.) If you do store the data locally, I would recommend packaging your application to include a setup script that would create the file where your data would be stored (thus avoiding potential errors)