For any application with a need to build its own social network, "Friends Management" is a common requirement which usually starts off simple but can grow in complexity depending on the application's use case.
Usually, applications would start with features like "Friend", "Unfriend", "Block", "Receive Updates" etc.
1.Require enviroment:
• Maven version 3.3.9
• Java version 1.8.0
• Set proxy (optional), please set on ‘Application.java’, find the line have comments ‘TODO Set proxy here’.
2.Start application: The project have Tomcat Embed on pom.xml and it have 3 ways to start application with port 9090, recommend the first way for quicks:
• Run command line: mvn spring-boot:run
• Import to Eclipse -> open class ‘Application.java’ -> right-click on class -> choose ‘Run as’ -> Java Application.
• Import to Spring Tool Suite -> right-click on project -> choose ‘Run as’ -> Spring Boot App.
Using swagger UI, so you can access url as below and can execute Restful from UI
Url: http://localhost:9090/swagger-ui.html
NA
Developer: Nguyen Van Minh
Email: [email protected]
Skype: m.nguyencntt
Phone: (+65)9376-7011
NA