(You will need to create a Github account if you don't already have one)
1.2 Clone your repository on your local machine and intialize a SpringBoot folder with the following characteristics :
(Hint: use Spring Initializr)
- Project Type: Gradle
- Language: Java
- SpringBoot version: 2.7.8
- Packaging: Jar
- Java Version: 8
- Group ID: com.adri
- Artifact ID / Name: AdriInternship_YOUR-NAME
Dependencies:
If you need to add any dependecies later on:
- Go to MVN Repository.
- Search for the dependency that you need.
- Select Gradle from the package manager selector.
- Copy paste the import text into your application.properties file.
- Spring Web
- Spring Data JPA
- MySQL Driver
2.1 Download and Install Docker-Desktop.
- Download the docker_assets folder into your local machine.
- Open the folder in a terminal.
- type the command
docker compose up -d
in your terminal to create your container.
This will create a Msql database called adri with username: intern and password: intern123
Navigate back to your SpringBoot folder for this task
- Method Type: GET
- Input: None
- Returns: Hello message
- Method Type: GET
- Request Param: user_name (String)
- Returns: User information (JSON)
- Method Type: POST
- Input: User Information (JSON)
- Returns: User Information (JSON)
Add a README.md file like this one Example_README.md to your repository and put your answers in it.
Please answer these questions in your own way
Submit a link to your Github repository to this Google form