Skip to content

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

License

Notifications You must be signed in to change notification settings

Raboro/Flower-Meadow-Generator

Repository files navigation

#    ______ _                          __  __                _                
#   |  ____| |                        |  \/  |              | |               
#   | |__  | | _____      _____ _ __  | \  / | ___  __ _  __| | _____      __ 
#   |  __| | |/ _ \ \ /\ / / _ \ '__| | |\/| |/ _ \/ _` |/ _` |/ _ \ \ /\ / / 
#   | |    | | (_) \ V  V /  __/ |    | |  | |  __/ (_| | (_| | (_) \ V  V /  
#   |_|    |_|\___/ \_/\_/ \___|_|    |_|  |_|\___|\__,_|\__,_|\___/ \_/\_/                                        
#
#    _____                           _             
#   / ____|                         | |            
#  | |  __  ___ _ __   ___ _ __ __ _| |_ ___  _ __ 
#  | | |_ |/ _ | '_ \ / _ | '__/ _` | __/ _ \| '__|
#  | |__| |  __| | | |  __| | | (_| | || (_) | |   
#   \_____|\___|_| |_|\___|_|  \__,_|\__\___/|_|                                                      

GNU GPL 3.0 License Issues GitHub commit activity GitHub last commit

Powered by Quality Gate Status Bugs Vulnerabilities Coverage Lines of Code Code Smells Maintainability Rating Security Rating Reliability Rating Duplicated Lines (%)

Powered by Quality Gate Status Bugs Vulnerabilities Coverage Lines of Code Code Smells Maintainability Rating Security Rating Reliability Rating Duplicated Lines (%)


Demo

FMG-Demo.-.480.mp4

Run the application

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.

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.


Features

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published