Skip to content

FrakPotatoEater69/E-Library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to E-Library

I present to you my first web application that implements the basic and most necessary functionality for electronic libraries, which I will describe below.

Main page

Home page, allows you to move between user and book pages

Main Page

Book list page

If there are more than 6 books in the database, the application will automatically split them into several pages. Here you can:

  • Go to the book search page by author or title
  • Sort books by year of publication, and unsort, it if necessary
  • Add new book

Main Page

Result on request 'Me' Not found result
Here you can see the owner of the book, and if he is not there result if book not found
Empty input result Sorted book list
Result of null input Sorted list, there is a button to cancel sorting

Personal page of the book

The personal page of the book shows its title, the author of the book and when it was published. Here you can see the current owner of the book, and a button to return the book if someone has it now. If the book is free now - you can assign the book to someone. There is also an edit and a delete buttons.

Edit Book Page

The application will not allow you to enter empty lines or invalid values, the year of publication can be any numeric value or "Unknown"

Book with owner Book without owner
Hyperlink leads to the user's personal page, If you delete a book that has an owner, the book will be automatically deleted from the user's account result if book not found

List of users

This page shows all registered users, it contains hyperlinks to clients' personal pages and a button to add a user.

List of users Adding a new user
The full name must necessarily contain the First Name and Last Name, and the patronymic - is optional, everything is checked by the regex expression.

User's personal page

The personal page contains all information about the user, the books that are assigned to him and their status.

  • The title of the book is highlighted in #c5f015 green if the book is not expired.
  • And it would be highlighted in #f03c15 red, if a person has a book for more than 10 days.
User's personal page with an expired book User's personal page with an unexpired book
If a user is removed from the database, all his books will automatically become free. As you can see, ALL of his books are visible on the user's page.

About

A simple solution for simple digital libraries

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors