diff --git a/README.md b/README.md index 54685a58c82e45dd2c7898d11b52306ecda9a62b..adc16faa666016fefd528fce6775bb28150bc80c 100644 --- a/README.md +++ b/README.md @@ -97,6 +97,15 @@ Just note that each module runs on a different port by default, so care where yo These ports can be overridden either in the application.properties file of each module, or by specifying the port manually when running the "mvn" command to run the module. +## Seed and clear DB +DB is at the start of the app seeded with some Data, thus you don't have to do it manually. +For users are available 2 endpoints: + +- /seed - Seed DB with some Data +- /clear - Clear DB whenever during running + +*Note: /seed will always seed DB with the same Data. Keep in mind, If you seed DB after startup, DB will contain the same data twice.* + ## Build and run the app with Docker For purpose of this build and run the installation of Docker/Podman