Works with MyPolly Bot
JSON file and screenshots in submission directory
- php 5.6+
- MySQL 5.7
- composer
- create MySQL database named
find_a_date_bot
- rename
.env.example
to.env
and fill out appropiate config settings - generate new application key
php artisan key:generate
- generate database models
php artisian migrate
- start server
php artisan serve
####get 10 random profiles:
http://34.208.35.165/index.php/profiles
@return JSONArray
####store new profile:
http://34.208.35.165/index.php/profile/store
@param String name, String location, Char gender, int age
@return JSONObject
####get 1 profile by profile_id:
http://34.208.35.165/index.php/profile/show/{profile_id}
@param String profile_id
@return JSONObject
####find a match:
http://34.208.35.165/index.php/profile/match/{profile_id}
@param profile_id your profile_id
@return JSONObject other person's profile object
http://34.208.35.165/index.php/profiles/recent
@return JSONArray
built using Laravel Framework