/
-
Catalogue. Search by title or author; partial words
match, so a fragment you half-remember is usually enough. Every
row carries how many of its copies are on the shelf right now.
/books/:id
-
Book record. The bibliographic record, then every
physical copy with its status, who has it and when it is due.
Lend or return from the row.
/books/new
-
Add a book. Title, author, year, and an ISBN that is
allowed to be missing — the ISBN was born in 1970 and a library
that refuses older books refuses its own rare shelf.
/books/:id/copies/new
-
Add a copy. One barcode, unique across the whole library,
because that is what the scanner reads and it has to resolve to
exactly one object.
/desk
-
The desk. Choose who is borrowing, scan the sticker,
Enter. Returning needs no member at all — the copy knows whose
loan is open.
/members
-
Members. Everyone who holds a card, and what each of them
has out.
/members/:id
-
Member history. Every loan, open or closed, open ones
first — the screen for “have they read this already?” and for
“who had this copy before it came back damaged?”
/members/new
- Issue a card. A name and an e-mail address.
/overdue
-
Overdue. Past the due date, longest first, with a return
button on every row. The first screen at opening time.