GET
/api
index.
GET
/api/games
get all games with details.
GET
/api/genres
get all genres.
GET
/api/games/game/:id
get specific game with details.
POST
/api/games
add a game with details.
POST
/api/genres
add a genre.
PUT
/api/games/:id
update specific game (include details) by id.
PUT
/api/genres/:id
update specific genre only by id.
DELETE
/api/games/:id
delete specific game by id.
DELETE
/api/genres/:id
delete specific genre by id.