Hi, this is a BookStore.com project made with Java. All packages used can be seen in pom.xml
Made with: JDE17, Docker, Mven
- Download Docker, Java 17, Maven
- Download this project
- Go to project folder and run in console docker compose up -d for database.
- docker exec -it postgres bash
- psql -U bookuser
- CREATE DATABASE bookstore;
- Run with mvn spring-boot:run
- Go to localhost:3000 in browser
- Username is AUser, password is password
- Admin user and Books are added with commandLineRunner after start of the project.
Maven was chosen as a build automation tool because of its ease of use and more powerful features from other build tools were not necessary. This project uses Java Spring framework for better security and faster development time. In authentication Spring Security is used to handle user accounts logins and their credentials. For UI Thymeleaf templates are used to display data and input forms. For data storage the most popular relation type database - PostgreSQL was used. Guest can see all the books. Only Admin can also access book adding page.
