Skip to content

A program to catalog a library's books and let patrons check them out.

Notifications You must be signed in to change notification settings

kwicz/Library.Solution

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 

Repository files navigation

Library Administration Page

By K. Wicz, Steph Podolak, and Jeremy Kale Padot

Description

An MVC web application to to catalog a library's books and let patrons check them out.

Program User Stories

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

Setup/Installation Requirements

1. Install .NET Core

on macOS:

  • Click here to download a .NET Core SDK from Microsoft Corp.

on Windows:

  • Click here to download the 64-bit .NET Core SDK from Microsoft Corp.

Install dotnet script

Enter the command dotnet tool install -g dotnet-script in Terminal (macOS) or PowerShell (Windows).

2. Clone this repository

Enter the following commands in Terminal (macOS) or PowerShell (Windows):

cd desktop
git clone https://github.com/kwicz/Library.Solution
cd Library.Solution

3. Install all necessary packages and make sure the project will build

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

4. Create the database and tables

Enter the following to build your database and tables for the program:

dotnet ef migrations add Initial
dotnet ef database update

5. Launch the project in your browser

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.

Known Bugs

No known bugs at this time.

Support and contact details

Have a bug or an issue with this application? Open a new issue here on GitHub.

Technologies Used

  • 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

License

MIT

Copyright (c) 2020 K Wicz

About

A program to catalog a library's books and let patrons check them out.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published