ycinar/recommendapp — pull request #1 by eozturk1 (2014-05-27 15:46:18+00:00)
Title: Some additions on the server side.

- Created the data_models directory and added user and request models.
- Added a connection function to the server. Client should call -for connecting to the server:

socket.emit('connect', username, password, savedUsername);

@username, is the phone number of the user.
@password, is for blocking unintended connections to the server, kept in the server side.(also a function taken from database can be used for syncing user side password, and the server side password)
@savedUsername, is the username shown in the app, chosen by user.