To quickly setup a project using some part of spring technology.
For a demo RESTful service:
- Spring-Boot
- Spring-Security
- Spring-JPA
- Spring-Session
- Spring-Cache
- and etc.
are included.
This project has a folder eureka
which is the demo code and config of a standalone eureka
server.
You can setup a project build and visit via URL http://127.0.0.1:8761
This project has a folder zuul_ribbon
which is the demo code and config of zuul_ribbon
.
You can setup a project build and visit via URL http://127.0.0.1:8000
Use mysql DB, import Database.DDL create tables.
Use redis for cache, start server command:
redis-server --protected-mode no
for local server
to run:
$ sh ./build_and_run.sh
to stop:
$ sh ./stop.sh
mvn clean package spring-boot:run
mvn clean package spring-boot:run -Drun.jvmArguments="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005"