React_Hooks_SchoolLibrary is a sample school library application that I wrote while learning React with hooks / Redux. The application has been partially rewritten from https://github.com/perestaj/React_SchoolLibrary using React hooks and TypeScript.
For Angular version of the application please go to: AngularSchoolLibrary.
In order to run and test the app you need to download and run the .NET Core project: SchoolLibraryAPI
In order to run React_Hooks_SchoolLibrary type:
$ npm install
$ npm start
If you want to run the application in the docker container run the following command in the terminal: docker-compose up. The application will be accessible under http://127.0.0.1:3000
If you want to login you can use the following accounts:
username: admin
password: admin
Description: can display and manage the list of books, loans, authors, publishers and users.
username: barbara
password: library
Description: can display and manage the list of books, loans, authors and publishers
username: bil
password: bil
Description: can display the list of books and request a book if they want to borrow it
The application consists of four tabs:
Home page
Displays the list of all books in the library with their statuses (Available, Borrowed, Lost, Requested).
Displays the books that have been requested, borrowed or lost. It enables the librarian to change the book status to "Borrowed" (when the requested book is being lent), "Available" (when a student returns the book) or "Lost" (when a student has lost the book).
Displays the list of all authors of the books in the library
Displays the list of all publishers of the books in the library
Displays the list of all users