Friends Management system (FMS) provides different APIs for social networking
You can use either of ways to call APIs -
These API has been deployed into my AWS public cloud
-
Swagger URL : http://52.74.189.137:8080/swagger-ui.html#/fms-api
-
Use these IP to call the API-
curl --header "Content-Type: application/json"
--request POST
--data '{"friends":["swapnil@example.com","reyom@example.com"]}'
http://52.74.189.137:8080/create-friend
NOTE: If API service goes down, please contact me I will start the service again.
- Download the attached jar and unzip it your local machine. (https://github.com/swapnilsuhane/FriendsManagement/blob/master/FMS.jar.zip)
- run command: java -jar FMS.jar
- Service should be up : http://localhost:8080/swagger-ui.html#/fms-api
Steps to Setup/Launch project Locally-
- Clone this repository into your local.
- Import the cloned directory into your IDE (IntelliJ or Eclipse)
- Import the maven dependencies
- Launch the application by running Spring boot FriendsManagementSystemApplication.java
- Check the local URL : http://localhost:8080/swagger-ui.html#/fms-api (swagger page)