DoSomething/user-api — pull request #3 by codal-sara (2014-11-21 20:58:02+00:00)
Title: Feature

#### What's this PR do?
1. Sets up the standard Laravel installation with MongoDB compatibility. https://github.com/jenssegers/laravel-mongodb is used as a service provider.
2. Allows the ability to retrieve data for a specific user using the GET method. This can be retrieved with either a Drupal UID, the database-generated ID, a mobile phone number, or an email address.
3. Creates User Eloquent model, User migration collection, and corresponding resourceful controller.

#### Where should the reviewer start?
From the app/routes.php file and moving on to the app/controllers/UserController.php. The model is located in the app/models directory as User.php

#### How should this be manually tested?
Via CURL. First migrate and seed the user database. Then run:

curl -X GET http://homestead.app/1/users?drupal_uid=123456

http://homestead.app/ would be replaced by the site mapped to your homestead project folder.

#### Any background context?
The request does not currently require any HTTP authentication