This is the final group project for SEIS739 - Software Analysis, Design, and Implementation. This is a simple Java Spring Boot application.
This application uses:
See the Dockerfile and docker-compose.yml for more details.
In order to get this running, there are a few steps you need to take.
application.properties
and docker-compose
uses environment variables for connecting to an Avien MySQL server:
application.properties
to a public repo, I suppose you could hardcode these values...custom-recipe-sharing-platform
directory, run docker-compose build
- this will build the Docker image.docker-compose up -d
- this will run the Docker container (-d
will allow you to perform CL actions within the container).https://localhost:8080/
in a web browser.Running CL actions within the container is easy! Use docker-compose exec
as the prefix.
Adding data to the database is also easy, turns out! An example might be curl http://localhost:8080/custom-recipe-sharing-platform/add -d name="Sponge Bob" -d email=bob@crabby.com
- note that this does not need to be run within the docker container.
Navigate to https://localhost:8080/custom-recipe-sharing-platform/all
to see data.
We used the following tutorials to help in setting this up:
Other useful documentation can be found here: