This project created for "Object-Oriented Programming. | Khaimuldin Askar" course. Focused on controlling Users from Database which is Postgres...
Resources for Interation 2: https://reflectoring.io/bean-validation-with-spring-boot/ https://www.baeldung.com/swagger-2-documentation-for-spring-rest-api https://medium.com/@aedemirsen/spring-boot-global-exception-handler-842d7143cf2a
-
Download and install Spring Boot:
- Visit the official Spring Boot website: https://spring.io/projects/spring-boot
- Ensure that Java JDK version 17 or higher is installed.
- Install Maven (if not already installed). You can follow the official instructions.
-
Download and install PostgreSQL:
- Visit the PostgreSQL website: https://www.postgresql.org/download/.
- Install the PostgreSQL server and pgAdmin (for easier management).
-
Clone the repository:
git clone https://github.com/your-repo-name.git cd your-repo-name
-
Configure the
application.properties
file: Locate theapplication.properties
file in thesrc/main/resources
folder and set your PostgreSQL configuration:spring.datasource.url=jdbc:postgresql://localhost:5432/your_database_name spring.datasource.username=your_username spring.datasource.password=your_password
You can use application using any HTTP client or use Swagger
at /swagger-ui/index.html