#Spring cloud and react exercise
##How to run
- Start config-server
ConfigServerApplication.- The config-server application needs a git repository.
- This git repository should contain the config files for all the services.
- The config-server
application.propertiesshould have a pointer to the git repository location. - The git repository with config files can be cloned from: TODO
- Start eureka-server
EurekaServerApplication. - Start each x-service
XServiceApplication.
###Notes:
- Wait to start
EurekaServerApplicationuntilConfigServerApplicationis done. - Wait to start
XServiceApplicationuntilEurekaServerApplicationis done.
##Services ###student-service
| Method | URL | Extra | Effect |
|---|---|---|---|
| GET | '/student' | returns all students without address | |
| GET | '/student/{email}' | ?includeAddress=true/false default=false | return matching student with address |
| POST | '/student' | create a student |