- About the Project
- Install
- Usage
- Build & Deploy
- Demo
- Swagger
- Maintainers
- Contributing
- Conventions
- License
- Contact
Build a Spring Boot application in Java. Follow the guidelines given below, feel free to expand on the functionality. It must meet the minimum requirements prescribed.
NOTE: This assignment is to be completed in groups of 2.
In addition to this, you should complete this assignment using Pair Programming.
-
Set up the development environment.
Make sure you have installed at least the following tools:
- IntelliJ with Java 17.
-
Use plain Java to create a Spring Boot Web API, and use Thymeleaf to create a view with the following minimum requirements (See Appendix A-B for details):
- Access the Chinook SQL Lite database through JDBC. This should be done according to Appendix A.
- A Thymeleaf view to show database data according to Appendix B.
- This should all be in one project.
- The application must be published as a Docker container on Heroku.
Assignment 2_Java_Data access and display.pdf
git clone https://github.com/Cusatelli/Noroff-Assignment_6.git
cd Noroff-Assignment_6
Open IntelliJ IDEA navigate to /src/main/java/com/access_and_expose/noroffassignment_6/Main.java
Rigth click & press 'Run Noroff-Assignment_6Application.java'
Navigate to cd Noroff-Assignment_6 & run the following commands to build & deploy the application:
./gradlew build
docker build --build-arg JAR_FILE=build/libs/\*.jar -t springio/gs-spring-boot-docker .
heroku login
heroku container:login
heroku create
heroku container:push web
heroku container:release web
Heroku App: https://whispering-meadow-32702.herokuapp.com/
Swagger: https://whispering-meadow-32702.herokuapp.com/swagger-ui/index.html
Format: <type>(<scope>): <subject>
<scope> is optional
feat: (new feature for the user, not a new feature for build script)fix: (bug fix for the user, not a fix to a build script)docs: (changes to the documentation)style: (formatting, missing semi colons, etc; no production code change)refactor: (refactoring production code, eg. renaming a variable)test: (adding missing tests, refactoring tests; no production code change)chore: (updating grunt tasks etc; no production code change)
Read more: Conventional Commits v1.0.0
No active license.
Cusatelli: github.cusatelli@gmail.com
Haruberi: github.com/Haruberi
