Installation
step-1 Green button on top of the file structure -> Go to Option Download as Zip
step-2 Extract the original Repo from the zipped file
step-3 Set the proper JDK Setup, and download all the dependency
Application Related Setup
Application.propertities file
#url
spring.datasource.url=jdbc:postgresql://localhost:5432/mydb
#username
spring.datasource.username=postgres
spring.datasource.password=Hardwork@365
spring.jpa.hibernate.ddl-auto=update
#console print
spring.jpa.properties.hibernate.show_sql = true
spring.jpa.properties.hibernate.format_sql=true
springdoc.swagger-ui.enabled=true
Changes to be done
spring.datasource.username=postgres
username -> Your userName on postgreSQL server
spring.datasource.password=Hardwork@365
password -> Your password on postgreSQL server
Configuring DataSource
spring.datasource.url=jdbc:postgresql://localhost:5432/mydb
Here, 5432 -> My Database Port Number,changes to be done according to the portNumber of the local postgreSQL port number
mydb is the database name, created on my own postgreSQL Database Server
Steps to Create Database
Create a database named mydb in own local Database server Use the exact same name in the url
Application Level should be done at this time Further Steps After the Application is up and running Go the url -> http://localhost:8080/swagger-ui/index.html Swagger
You will be to see The webpage like the below image, execute the get method to verify the result
![image](https://private-user-images.githubusercontent.com/49528465/299216059-f83fef8e-d484-445e-a330-9061c974a35d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjIxMjAzMDgsIm5iZiI6MTcyMjEyMDAwOCwicGF0aCI6Ii80OTUyODQ2NS8yOTkyMTYwNTktZjgzZmVmOGUtZDQ4NC00NDVlLWEzMzAtOTA2MWM5NzRhMzVkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzI3VDIyNDAwOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTMyYjc3NGUyNDNiMzlkZjE0YjVhOWQyMjEyNzc2MWM2NzUxNjU4NTE4NzdjZDQ0YmE4ODA3ZjhiYzdjMDUwYjcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.4tNRJi8oJo9ixQXBz8dPgCwykkIWlEzadUgfjZkwc-A)
And Check the Database Table to check the entry of the function name along with its timeStamp, looks something like below
![image](https://private-user-images.githubusercontent.com/49528465/299224673-c075e61f-1b00-46ce-9e9b-b08e58c8ddcd.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjIxMjAzMDgsIm5iZiI6MTcyMjEyMDAwOCwicGF0aCI6Ii80OTUyODQ2NS8yOTkyMjQ2NzMtYzA3NWU2MWYtMWIwMC00NmNlLTllOWItYjA4ZTU4YzhkZGNkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzI3VDIyNDAwOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWY3MTZkMmYxMjFiMjRkMDFlNmEwZDI4ODE3Yzk5ODc4ODQzMDRmZTA5NjE2OTI0ZThjOWUyOTEwZDdkZmU2YjgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.cElaF19Reearh4tTPsPA65BkS1DNLeyqfJgn5_HfzQE)