Welcome to PHP Tinder app 20250929! Your Laravel backend is up and running.
📡 Available API Endpoints
GET
/api/people?user_id=1&page=1&per_page=10
Get recommended people (paginated)
POST
/api/people/{id}/like
Like a person (30% chance match with simulate_match)
POST
/api/people/{id}/dislike
Dislike a person
GET
/api/people/liked?user_id=1
Get people you liked (Liked Opponents)
GET
/api/people/disliked?user_id=1
Get people you disliked
GET
/api/people/liked-opponents?user_id=1
Get people who liked you
GET
/api/people/matches?user_id=1
Get mutual matches (both liked each other)
POST
/api/people/check-popular
Check and notify popular people (50+ likes) - Admin cronjob