Skip to content

witpool/Wit-Neptune

Repository files navigation

Wit-Neptune

RESTful API demo with Spring Boot.

  1. You need to install Java 1.8.0 or above, Maven 3.2.1 or above, MYSQL first.

  2. Wit-Neptune-Tree
    # ls
    pom.xml wit-common wit-persist wit-rest wit-service

  3. Update the below configurations with your real database account to wit-rest/src/main/resources/application.yml
    username: root
    password: 123456

  4. Package wit-neptune with maven tools.
    # mvn clean install
    # ls wit-rest/target/wit-rest-1.0.jar
    wit-rest/target/wit-rest-1.0.jar

  5. Start Spring Boot application.
    java -jar wit-rest/target/wit-rest-1.0.jar

  6. UT by Wisdom RESTClient , import testing case file. image
    More about the usages of the tool, please visit Wisdom RESTClient.