https://github.com/raboro/flower-meadow-generator
Full stack web app with Java Spring Boot backend, JS frontend and PostgreSQL as db together with docker compose to design flowers, overview them and generate a meadow with them
https://github.com/raboro/flower-meadow-generator
ci css docker dockercompose eslint html java js make nginx postgresql spring springboot stylelint
Last synced: 4 months ago
JSON representation
Full stack web app with Java Spring Boot backend, JS frontend and PostgreSQL as db together with docker compose to design flowers, overview them and generate a meadow with them
- Host: GitHub
- URL: https://github.com/raboro/flower-meadow-generator
- Owner: Raboro
- License: mit
- Created: 2023-04-23T13:01:10.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-07-18T14:04:04.000Z (almost 2 years ago)
- Last Synced: 2025-01-11T02:18:06.035Z (5 months ago)
- Topics: ci, css, docker, dockercompose, eslint, html, java, js, make, nginx, postgresql, spring, springboot, stylelint
- Language: Java
- Homepage:
- Size: 7.91 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: license.md
Awesome Lists containing this project
README
````bash
# ______ _ __ __ _
# | ____| | | \/ | | |
# | |__ | | _____ _____ _ __ | \ / | ___ __ _ __| | _____ __
# | __| | |/ _ \ \ /\ / / _ \ '__| | |\/| |/ _ \/ _` |/ _` |/ _ \ \ /\ / /
# | | | | (_) \ V V / __/ | | | | | __/ (_| | (_| | (_) \ V V /
# |_| |_|\___/ \_/\_/ \___|_| |_| |_|\___|\__,_|\__,_|\___/ \_/\_/
#
# _____ _
# / ____| | |
# | | __ ___ _ __ ___ _ __ __ _| |_ ___ _ __
# | | |_ |/ _ | '_ \ / _ | '__/ _` | __/ _ \| '__|
# | |__| | __| | | | __| | | (_| | || (_) | |
# \_____|\___|_| |_|\___|_| \__,_|\__\___/|_|
````
[](https://github.com/Raboro/Flower-Meadow-Generator/blob/main/LICENSE)
[](https://github.com/Raboro/Flower-Meadow-Generator/issues)
[](https://github.com/Raboro/Flower-Meadow-Generator)
[](https://github.com/Raboro/Flower-Meadow-Generator)[]()
[](https://sonarcloud.io/summary/new_code?id=raboro_Flower-Meadow-Generator_Backend)
[](https://sonarcloud.io/summary/new_code?id=raboro_Flower-Meadow-Generator_Backend)
[](https://sonarcloud.io/summary/new_code?id=raboro_Flower-Meadow-Generator_Backend)
[](https://sonarcloud.io/summary/new_code?id=raboro_Flower-Meadow-Generator_Backend)
[](https://sonarcloud.io/summary/new_code?id=raboro_Flower-Meadow-Generator_Backend)
[](https://sonarcloud.io/summary/new_code?id=raboro_Flower-Meadow-Generator_Backend)
[](https://sonarcloud.io/summary/new_code?id=raboro_Flower-Meadow-Generator_Backend)
[](https://sonarcloud.io/summary/new_code?id=raboro_Flower-Meadow-Generator_Backend)
[](https://sonarcloud.io/summary/new_code?id=raboro_Flower-Meadow-Generator_Backend)
[](https://sonarcloud.io/summary/new_code?id=raboro_Flower-Meadow-Generator_Backend)[]()
[](https://sonarcloud.io/summary/new_code?id=raboro_Flower-Meadow-Generator_Frontend)
[](https://sonarcloud.io/summary/new_code?id=raboro_Flower-Meadow-Generator_Frontend)
[](https://sonarcloud.io/summary/new_code?id=raboro_Flower-Meadow-Generator_Frontend)
[](https://sonarcloud.io/summary/new_code?id=raboro_Flower-Meadow-Generator_Frontend)
[](https://sonarcloud.io/summary/new_code?id=raboro_Flower-Meadow-Generator_Frontend)
[](https://sonarcloud.io/summary/new_code?id=raboro_Flower-Meadow-Generator_Frontend)
[](https://sonarcloud.io/summary/new_code?id=raboro_Flower-Meadow-Generator_Frontend)
[](https://sonarcloud.io/summary/new_code?id=raboro_Flower-Meadow-Generator_Frontend)
[](https://sonarcloud.io/summary/new_code?id=raboro_Flower-Meadow-Generator_Frontend)
[](https://sonarcloud.io/summary/new_code?id=raboro_Flower-Meadow-Generator_Frontend)---
## Demohttps://github.com/Raboro/Flower-Meadow-Generator/assets/88288557/a997f6d2-b01f-4dc7-a218-3ac55df4f4e4
---
## Run the applicationJust 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:
````bash
$ docker compose up
````Or you can use ``make`` to run / stop or restart the application:
````bash
$ make up
>
$ make down
>
$ make restart
>
````Read more about all `make` commands [here](https://github.com/Raboro/Flower-Meadow-Generator/blob/main/documentation/makefile.md).
## Reach the application
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](https://github.com/Raboro/Flower-Meadow-Generator/blob/main/documentation/endpoints.md).
---
## Features
See a few of them in a [demo](https://github.com/Raboro/Flower-Meadow-Generator/blob/main/documentation/features.md).
- 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