In this repository you can find REST API code written in Java language for Library Manager project. To start working with the application, you should first run the backend app and then frontend app.
Admin credentials: L: admin@library.com / P: admin
User credentials: create an account with your own credentials :-)
Java 8, Spring Boot, Spring Security (Json Web Token), Hibernate, JUnit4, Mockito, Lombok, Gradle, Swagger, H2 In Memory Database
Factory, Observer
- Audiobooks from https://wolnelektury.pl/api/
- Top Stories from https://developer.nytimes.com/apis
- Source code: https://github.com/kamisc/LibraryManager-Backend
- git clone https://github.com/kamisc/LibraryManager-Backend.git
- Run application by the main method in the LibraryManagerBackendApplication class
- Application will be run on the localhost:8080 address
- Source code: https://github.com/kamisc/LibraryManager-Frontend
- git clone https://github.com/kamisc/LibraryManager-Frontend.git
- Run application by the main method in the LibraryManagerFrontendApplication class
- Application will be run on the localhost:8090 address
In the login panel click "Create new account" button and:
Use --> admin@library.com <-- e-mail to create ADMIN user to test all of functions
Use any mail to create NORMAL user to test functions for NORMAL user
E-mail configuration: configure environment variables MAIL_USERNAME and MAIL_PASSWORD for the gmail account. Or set gmail username and password directly in the application.properties file. Remember that your gmail account must have permission to access account for less secure applications.
Author: Kamil Seweryn