An MVC web application to to catalog a library's books and let patrons check them out.
Specification | Example Input | Example Output |
---|---|---|
Librarian user can create, read, update, delete, and list books in a catalog inventory. | New book including title, and author is entered | Book and details available to view and edit in library |
Librarian user can search for a book by author or title | Librarian inputs title | Book is displayed with author details |
Librarian user can enter multiple authors for a book | Librarian edits book to add additional authors | Multiple authors displayed with book details |
Patron user can checkout a book from library database | Patron checks out 1 book | Number of copies for that specific book decreases by 1 |
Patron user can check how many copies of a particular book are available | Patron searches for book | Book details displays number of copies available |
Patron user can see a history of all books they've checked out | Patron logs into account | Patron can view entire checkout history |
Patron user can check when a book they've checked out is due | Patron clicks on checkout item | Due date is displayed |
Librarian user can see a list of all overdue books | Librarian views overdue library books | Overdue books are displayed |
- Click here to download a .NET Core SDK from Microsoft Corp.
- Click here to download the 64-bit .NET Core SDK from Microsoft Corp.
Enter the command dotnet tool install -g dotnet-script
in Terminal (macOS) or PowerShell (Windows).
Enter the following commands in Terminal (macOS) or PowerShell (Windows):
cd desktop
git clone https://github.com/kwicz/Library.Solution
cd Library.Solution
In your terminal, type the following commands to make sure all necessary packages are included in the project and to launch in your browser:
cd Library
dotnet restore
dotnet build
Enter the following to build your database and tables for the program:
dotnet ef migrations add Initial
dotnet ef database update
In your terminal, type:
dotnet watch run
Then hold command
while clicking the link in your local terminal to your local address, which should be:
http://127.0.0.1:5000
Eureka! The project is now ready to use.
No known bugs at this time.
Have a bug or an issue with this application? Open a new issue here on GitHub.
- C#
- .NET Core 2.2
- ASP.NET Core MVC
- MySQL
- EF Core 2.2.6
- ASP.NET Core Identity
- Razor 2.2.0
- Material Design Lite
Copyright (c) 2020 K Wicz