The purpose of this program is to provide a application that can generate both random text paragraphs and random user profile data. As a bonus, REST endpoints for these functions exist as well.
###/generate/paragraphs/{count}
Returns a JSON array of the number of paragraphs expected. The count parameter is expected to be an integer.
###/generate/profile/{count}/{profile}/{birthdate}/{address}
Returns a JSON array of the user profiles.
Optional parameters for
- profile: random profile description text, up to 200 characters
- birthdate: mm/dd/yy format date
- address: US postal address,
delimited
The demo site can be seen at http://p3.oprisan.com
A narrated demo of this application can be seen at http://oprisan.com/dwa15/p3.m4v
The following plugins are used in the Laravel application:
- badcow/lorem-ipsum(https://packagist.org/packages/badcow/lorem-ipsum)
- fzaninotto/faker(https://packagist.org/packages/fzaninotto/faker)
This program is open-sourced under the MIT license