api for chess site. Exercise in Express.js