Skip to content

A many-to-many postgres db to permit librarians to add, edit, remove, search etc Books by author or title.

Notifications You must be signed in to change notification settings

dunphyben/library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Library

Let's move on to a new program to catalog a library's books and let patrons check them out. Here are some user stories for you:

  • As a librarian, I want to create, read, update, delete, and lists books in the catalog, so that we can keep track of our inventory.
  • As a librarian, I want to search for a book by author or title, so that I can find a book when there are a lot of books in the library.
  • As a librarian, I want to enter multiple authors for a book, so that I can include accurate information in my catalog. (Hint: make an authors table and a books table with a many-to-many relationship.)
  • As a patron, I want to check a book out, so that I can take it home with me.
  • As a patron, I want to know how many copies of a book are on the shelf, so that I can see if any are available. (Hint: make a copies table; a book should have many copies.)
  • As a patron, I want to see a history of all the books I checked out, so that I can look up the name of that awesome sci-fi novel I read three years ago. (Hint: make a checkouts table that is a join table between patrons and copies.)
  • As a patron, I want to know when a book I checked out is due, so that I know when to return it.
  • As a librarian, I want to see a list of overdue books, so that I can call up the patron who checked them out and tell them to bring them back - OR ELSE!
Epicodus Week 5 Day 4

About

A many-to-many postgres db to permit librarians to add, edit, remove, search etc Books by author or title.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages