/WonByCheckmate-Frontend

Chess.com API for statistical information on players.

Primary LanguageTypeScript

WonByCheckmate

Chess.com API for statistical information on players.

Azure DevOps

Release

Runtime Stack: NODE 14

Startup command: npx serve -s is required`

Icons

Icons in this app are from here:

CORS issues

  • For some reason running Angular on localhost resulted in seemingly unavoidable CORS issues when calling the chess API causing requests to fail
  • This could have been due to forgetting some request header or using the wrong request object
  • Current solution/work around is to create a backend API to make the requests to the chess API

Backend

.NET Core API written as a wrapper to the chess.com API to parse the entire game archives of a chess.com user and return statistics of how the games ended as JSON.

Frontend

Database

Mariadb

https://stackoverflow.com/questions/39189451/mariadb-install-in-ubuntu-16-04

  • dotnet ef migrations add InitialCreate -o Data/Migrations
  • dotnet ef database update