We are now in a state where we can test the modifications that have been made.
Run the project by clicking the <
> run project button.Click the link that appears in the output pane.
You should see a web page appear in your web browser.
Click the <
> button on the main menu.Click the <
> button.Enter the details for a new scientist and click <
>. This will cause the addScientist
method that you worked on to be called.
You will be redirected to the scientists page. The details on this page are provided by the getScientists
method that you worked on. You should see the scientist that you added appear in the list.
Add another scientist.
Check that the data is going into PostgreSQL by querying the Scientist
table using DBeaver. You should see the two scientists that you added.