oose final presentation - department of computer sciencecwang107/files/oosefinalpresentation.pdf ·...
TRANSCRIPT
LET’S GO OOSE Group5 Final Presentation
Li-yi Lin, Huizhan Lv, Yang Xi, Chen Wang, Bowen Li
GOAL
➤ Post or join sport activities.
➤ Help users find nearby activities
➤ The goal of this app aims at helping users find their peers at the sport field efficiently.
OVERALL ARCHITECTURE
AppSwift
AppSwift
Facebook API
GoogleMap API
Ruby on RailsAppSwift
Postgres SQL
Amazon Web Server
APIHeroku Backend Server
APP OVERVIEW
APP OVERVIEW
APP OVERVIEW
APP OVERVIEW
UML CLASS DIAGRAM
IMPLEMENTATIONS OF FRONT-END
➤ Swift-Xcode
➤ Alamofire
➤ Google MAP package: all Google map related classes, functions.
➤ Facebook package: all Facebook related classes, functions.
➤ UI package: all UI related classes, functions such as UI button, label, and text.
➤ Global package: all data structure that will be used across the entire app such as user data, and activity data.
➤ Model package: all self-defined classes and functions such as UserProperty and ActivityProperty classes.
RESTFUL
➤ Create activity -> params(“activity_type”: string, “location”: string, “group_size”: int, “comments”: string, “duration”: int, “longitude”: double, “latitude”: double, “start_time”: datetime)
➤ Method: POST
➤ => "status": 201
➤ => "status": 401("errmsg": String)
➤ => "status": 404("errmsg": String)
BRIEF CODE REVIEW(RUBY)
BRIEF CODE REVIEW(SWIFT)
BRIEF CODE REVIEW(SWIFT)
SECURITY ISSUES
➤ UID & Token
➤ Password complexity check
➤ Hashed password stored in server database
➤ HTTPS
Live Demo
THANKS