-
get api from lichess.org and attach to server in express-serverless/api
-
after adding api run the server node game-fen.js
-
make post request to this url to start pooling http://localhost:3000/api/start-polling?username=ur username in lechess
-
running server should already display game status - game found or not
-
run python main.py
if game is started u will see live updates in GUI.
=========================================================
why node and not flask?
serverless express more comfortable to build servers (for me) and cost effective to host on vercel
future vision to move this all into web so why not
that it :) sign: sonic