Skip to content

CollCaz/Chess

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Chess

Chess database API to store chess games and query them for various information. This project was started as proof of what i learned before applying to a paid internship, I worked on it quickly and several features are missing.

Done

  • Post a player
  • Post a game
  • Get a player by ID
  • Get a game by ID
  • Get all games from an abitrary query

Todo

  • Get all players from an arbitrary query
  • Validate Inputs
  • Send custom errors to the user
  • More tests
  • Store the players as a PostgreSQL object and use that in the Games instead of the player's names

End Points

Get /player/:id

Get a player by their ID

Post /player

Add a player by sending json Example TODO

Get /game/:id

Get a game by ID

MakeFile

run all make commands with clean tests

make all build

build the application

make build

run the application

make run

run the test suite

make test

clean up binary from the last build

make clean

About

Chess database API written in Golang

Resources

Stars

Watchers

Forks