# ______ _ __ __ _
# | ____| | | \/ | | |
# | |__ | | _____ _____ _ __ | \ / | ___ __ _ __| | _____ __
# | __| | |/ _ \ \ /\ / / _ \ '__| | |\/| |/ _ \/ _` |/ _` |/ _ \ \ /\ / /
# | | | | (_) \ V V / __/ | | | | | __/ (_| | (_| | (_) \ V V /
# |_| |_|\___/ \_/\_/ \___|_| |_| |_|\___|\__,_|\__,_|\___/ \_/\_/
#
# _____ _
# / ____| | |
# | | __ ___ _ __ ___ _ __ __ _| |_ ___ _ __
# | | |_ |/ _ | '_ \ / _ | '__/ _` | __/ _ \| '__|
# | |__| | __| | | | __| | | (_| | || (_) | |
# \_____|\___|_| |_|\___|_| \__,_|\__\___/|_|
FMG-Demo.-.480.mp4
Just run the following command to start the three docker container: One for the Java Spring Boot backend one for the HTML, CSS, JS frontend and one for the PostgreSQL database:
$ docker compose up
Or you can use make
to run / stop or restart the application:
$ make up
>
$ make down
>
$ make restart
>
Read more about all make
commands here.
After the starting process you can reach the container/services:
Get frontend in the browser (uses port 8082
):
http://localhost:8082/flowermeadowgenerator
Make calls to the backend flower endpoint (uses port 8081
):
http://localhost:8081/flower
Read more about all endpoints
here.
See a few of them in a demo.
- generate flowers
- flower value validation
- flower overview with flower design
- remove flowers
- search for name
- sort for:
- name
- category
- stem width
- stem height
- petal width
- petal height
- stem thrones
- petal thrones
- stem color
- petal color
- generate random meadow with flowers
- select how often a flower should be generated
- automaticlly sync database data with
database/data
folder to regain even after restart or stop