The CafeBarApplication is a user-friendly web-site designed to order coffee and create it in the nearest coffee machine. Every automaton has a short code number and it can be found on the map (this feature is in development).
This app also contains admin panel for controlling users and orders lists.
The project was created in the likeness of the content of the book "Spring in Action, Sixth Edition" by Craig Walls. I remade many features to study material myself. Also I want to make an ultimate project which contains all needed modern technologies for self development.
- explanations.md. This document explains hard to understand concepts of Spring Framework.
- annotations.md. This document contains description of all used annotations.
- postgresql.md. This document contains interaction rules with PostgreSQL environment
- testing.md. This document explains concepts of testing with JUnit and Mockito
Technology stack:
- Java
- Spring Framework
- Spring Boot
- Spring Data
- Spring Security
- Hibernate (JPA)
- PostgreSQL
- Thymeleaf
- Junit
- Mockito
- OAuth
- Download java 17 (link)
- Download VSCode
- Install Java Extension Pack in VSCode
- Install maven with console
- Download PostgreSQL (YouTube)
- Inject login and password
If "...Connection to localhost:5432 refused..." error shown, run in console
sudo lsof -n -u postgres | grep LISTEN
and look for the port, if port in console and in application.yml
are not the same, resolve dismatch