Skip to content
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.

c1rabbit/FindADateBot

Repository files navigation

Find a Date Bot

Works with MyPolly Bot

MyPolly Bot Submission

JSON file and screenshots in submission directory

Optimal Environment

Setup

  • 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

API

####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

get 10 most recently created profiles

http://34.208.35.165/index.php/profiles/recent

@return JSONArray

built using Laravel Framework

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages