Vault: running on localhost:8200
1. Clone the application
**2. Create Mysql database**
```bash
create database configdb
3. Change mysql username and password as per your installation
-
open
src/main/resources/application.properties
-
change
spring.datasource.username
andspring.datasource.password
as per your mysql installation
4. Build and run the app using maven
mvn package java -jar target/db-config-server-1.0.0.jar
or using your specifc properties file: java -jar target\db-config-server-1.0.0.jar --spring.config.name=local
Alternatively, you can run the app without packaging it using -
mvn spring-boot:run
The app will start running at http://localhost:8888.
Access Swagger-UI at http://localhost:8080/db-config-server/swagger-ui.html
The app defines following CRUD APIs.
GET /db-config-server/api
POST /db-config-server/api
GET /db-config-server/api/{id}
PUT /db-config-server/api/{id}
DELETE /db-config-server/api/{id}
You can test them using postman or any other rest client.