Mainly backend code for the App.
NUS school bus routes and campus tour
Based on JDK 11 and Spring Boot.
Run the CampusApplication.main
would be OK.
Default running port is on 8004. So can access http://localhost:8004/user/10 for test. The page would be a json object like,
{"id":0,"username":null}
Use swagger to generate API document, default API page is http://localhost:8004/swagger-ui.html#/
- Remember to write good comments when coding.
- Remember to implement the API document when coding.