Table of Contents
- According to UML Diagram, within the Controller/Service/Repository logic a project created. CRUD operations such as save, update, delete added the project. CRUD operations implemented with Swagger UI. H2 database is used for database connection.
- Java 8
- Spring Boot
- Spring Web
- Lombok
- Maven
- JPA / Hibernate
- H2 Database
- MapStruct
- Swagger UI
You should have Maven and JDK 1.8 to built the project.
- Firstly, you should clone repo.
git clone https://github.com/113-GittiGidiyor-Java-Spring-Bootcamp/fourth-homework-Nevzatcs.git
- Then, change your directory to:
cd fourth-homework-Nevzatcs/hw04
- Finally, write down it on the cmd:
mvn spring-boot:run
After run the project:
- You should open this URL : http://localhost:8080/swagger-ui.html#/ to see and make the CRUD operations that can be done.
- You can get informations about operations that you've done in Swagger by reaching H2 database : http://localhost:8080/h2-console by clicking URL you can go to H2 console.(There is no password for your access, you can change password in DataSourceConfiguration file.)
You can use Swagger, as I show in images. Use this space to show useful examples of how a project can be used. Additional screenshots, code examples and demos work well in this space. You may also link to more resources.
-
After opening the URL, you will get this page. By clicking connect, you can see the tables and you can monitor the table and its informations.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE for more information.
Nevzat Can Samur - @linkedin