This repo contains:
See a live demo here: https://kevinalbs.com/connect4/.
The API accepts a board state and replies with a list of moves and scores. The scores are calculated using a minimax algorithm and a heuristic.