{"push_id":886333965,"size":5,"distinct_size":1,"ref":"refs/heads/master","head":"d4f5e815f8e5b7a08a1ffea2a7e34738d41d7091","before":"8835605bed16848fa651b6ad8588160132725852","commits":[{"sha":"6d4a52705ae0ba724091f01e0222cf8cb6f2cad0","author":{"email":"e8a8e4e12cde6d4e55c4f4da76c78a1640a71915@gmail.com","name":"msuzoagu"},"message":"make name of database settings match app name","distinct":false,"url":"https://api.github.com/repos/Ukeagu/rails_cms_api/commits/6d4a52705ae0ba724091f01e0222cf8cb6f2cad0"},{"sha":"cdde18cd0b3a481cc580bfbb51e03148c8b378f8","author":{"email":"e8a8e4e12cde6d4e55c4f4da76c78a1640a71915@gmail.com","name":"msuzoagu"},"message":"Map the routes for API resources to a namespace\nWhy:\n  - isolate api controllers under a namespace because:\n    1. keeps API endpoints independent from other controllers (clean code)\n    2. makes it easy to manage resources for api endpoints","distinct":false,"url":"https://api.github.com/repos/Ukeagu/rails_cms_api/commits/cdde18cd0b3a481cc580bfbb51e03148c8b378f8"},{"sha":"5e541b433fa55c65db541c9de0bce172a5e691e3","author":{"email":"e8a8e4e12cde6d4e55c4f4da76c78a1640a71915@gmail.com","name":"msuzoagu"},"message":"Respond to HTTP request for API resources with JSON object","distinct":false,"url":"https://api.github.com/repos/Ukeagu/rails_cms_api/commits/5e541b433fa55c65db541c9de0bce172a5e691e3"},{"sha":"0d0c7b9455841e3fa0062c91ec27489f94c8ea6f","author":{"email":"e8a8e4e12cde6d4e55c4f4da76c78a1640a71915@gmail.com","name":"msuzoagu"},"message":"Generate a base_uri under a subdomain\n  Why:\n    * Setting the api under a subdomain is a good practice because it allows to scalate the application to a DNS level\n\n  This changes address the need above by:\n    * add a constraints hash to specify the subdomain\n    * add the path option, and set it a backslash\n    * the above two changes tell Rails to set the starting path for each request to be root in relation to the subdomain","distinct":false,"url":"https://api.github.com/repos/Ukeagu/rails_cms_api/commits/0d0c7b9455841e3fa0062c91ec27489f94c8ea6f"},{"sha":"d4f5e815f8e5b7a08a1ffea2a7e34738d41d7091","author":{"email":"15054b88e6b6144e7d7746fc3b5c7608e43a77fd@users.noreply.github.com","name":"MsUzoAgu"},"message":"Merge pull request #1 from Ukeagu/setting-api\n\nSetting api","distinct":true,"url":"https://api.github.com/repos/Ukeagu/rails_cms_api/commits/d4f5e815f8e5b7a08a1ffea2a7e34738d41d7091"}]}