Search This Blog

Tuesday 26 December 2023

Java stuff

 Following this tutorial:

https://www.youtube.com/watch?v=8SGI_XS5OPw&t=433s


You have to go to this github link:

https://github.com/amigoscode/spring-data-jpa-course

Login to your account so you can see all the necessary options. 

Go to  Code/Local/SSH and copy the url

you need to generate the ssh keys. The first step is to install git. In this case for windows. Go to this page for reference. 

https://github.com/git-guides/install-git

After this installation, we should generate an ssh key, follow this link for reference:

https://docs.github.com/es/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent


Now go to IntelliJ -> New -> Project form version control

Paste the URL https://github.com/amigoscode/spring-data-jpa-course and then clone. 

For the next step look for the SQL shell using the windows bottom. 

You can create the data base amigoscode using the SQL shell or you can directly create the database using pgAdmin, that worked for me. 


I follow this tutorial to connect successfully the postgres database with the spring boot project

https://www.youtube.com/watch?v=ZTxn38j4DJE

No comments:

Post a Comment