The Bookstore project was made to get familiar with setting up a website and its API in Java, using Spring Boot, and use it in real conditions.
This website has NOT the ambition to reach the production stage. It was created for the sole purpose of training.
You will need to follow the steps below in order to run the website :
-
Install the Java runtime on your computer (if not already done). JDK17 or higher is required.
-
Download the project files to your computer and open the project in your prefered IDE (Eclipse, IntelliJ IDEA, etc.)
-
Configure the database connection information by adding the following values to the project's environment variables:
SPRING_DATASOURCE_URL=jdbc:postgresql://<host>:<port>/<database_name>
SPRING_DATASOURCE_USERNAME=<username>
SPRING_DATASOURCE_PASSWORD=<password>
N. B. : The project is ready to be used with PostgreSQL, but you can of course use another database. Just change the database and database driver values in the
application.properties
file, download the driver for your database via Maven and set the SPRING_DATASOURCE_URL environment variable to the correct URL. If needed, more info on HowToDoInJava - Spring Boot DataSource Configuration. -
Run the website via the IDE (it will provide you with the website URL, something like
http://localhost:8080
)
Once the 4 steps have been done, you are ready to chat with your friends via QuickChat!
The main language used in this project is Java (JDK version 17) and uses the Spring framwork to develop the web application.
The front-end uses :
- Bootstrap
The back-end uses :
- Thymeleaf (Java template engine)
- PostgreSQL
Moreover, the software project management used is Maven.
You can find all the links to the technologies used in the Guides and resources section
- Spring - Development framework
- Apache Tomcat - Web server
- Thymeleaf - Server-side Java template engine
- Bootstrap - Front-End toolkit
- JUnit - Java testing framework
- PostgreSQL - Database
- Maven - Software project management tool
![]() Daniel Roduit |
This project is licensed under the MIT License