Build the first Dapp application (7) - Improve the business layer logic of the SpringBoot project (DAPP development)
1. Add business logic
1. Create a new EvidenceFactoryController.java file in the src/main/java/org/evidence/evidence/service directory.
2. Recompile the project
gradle build -x test
3. Re-run the project
cd dist
java -jar evidence-exec.jar
4. Interaction
1. Open another terminal (or open a browser directly), and use the curl command to interact with the smart contract through the url
curl http://127.0.0.1:8080/?/?
5. The last article: Building the first Dapp application (6) - Combining WeBASE-Front to improve the SpringBoot project (DAPP development)
Build the first Dapp application (6) - Improve the SpringBoot project with WeBASE-Front (DAPP development)