The changes in the PR include creating endpoints so that the client is able to get common positions during application load and also an endpoint to search for positions. This resolves issues #47 and #48 and unblocks #43 and #42. The most common positions are calculated by aggregating how many variant openings a base opening has and we take the top 9 of the results.
Overview
The changes in the PR include creating endpoints so that the client is able to get common positions during application load and also an endpoint to search for positions. This resolves issues #47 and #48 and unblocks #43 and #42. The most common positions are calculated by aggregating how many variant openings a base opening has and we take the top 9 of the results.
e.g. http://localhost:5000/api/positions/search?filter=english+opening http://localhost:5000/api/positions/common-positions
Future TODOs