Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR, contains the code that added an extremely basic endpoint
/api/basic/hello/{name}
which was put in place for allowing backend members to test that their repo setup correctly and that the server can run.An h2 ( in memory ) database needed to be added to the
pom.xml
&application.properties
since there was no dataSource for the spring framework, and the specific framework used needs to be pointed towards a Database driver before the server can run, this was used as a temporary fix, but a new issue has been created for us to discuss at a meeting if we would like to change the database, this issue is #13To call the endpoint use the following:
http://localhost:8080/api/basic/hello/{your-name}
Fixes #12
How has this been tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce.
Screenshots
Provide screenshots of what has been implemented. Leave blank if not applicable
Checklist
(Leave blank if not applicable)