【文件属性】:
文件名称:confitura2018:Confitura 2018演示的演示应用程序(Java中的FluxRedux模式)
文件大小:23KB
文件格式:ZIP
更新时间:2021-05-09 23:35:14
Java
使用Flux / Redux的服务器端服务
这是一个玩具项目,探讨了Flux / Redux在服务器场景中的有用性。 许多部分没有真正的错误处理。
建造
需要JDK10和Maven来构建此项目。
mvn clean package
正在运行的应用
java \
--add-opens java.base/java.util=com.fasterxml.jackson.databind \
-jar target/confitura-2018-0.0.1-SNAPSHOT.jar
这是一个Spring Boot应用程序,因此只需运行JAR。
可用端点:
GET http://localhost:8080/hello -Hello world
GET http://localhost:8080/clock时钟
GET http://localhost:8080/matches ma
【文件预览】:
confitura2018-master
----pom.xml(3KB)
----body.json(47B)
----src()
--------main()
----.gitignore(2KB)
----.java-version(5B)
----README.md(1KB)