Added GET endpoint to return all video games. At the moment, this list of video games is mock data from data/fake_games_dataset.json. I created generate_fake_games.py to generate this fake data.
Additionally, I created a model to represent Game, Platforms, and Multiplayer. I think the Game class will end up holding a lot of information, so following this pattern where we encapsulate some of the information in separate classes (e.g. multiplayer) could be a good idea.
Issue: #11
Added GET endpoint to return all video games. At the moment, this list of video games is mock data from data/fake_games_dataset.json. I created generate_fake_games.py to generate this fake data.
Additionally, I created a model to represent Game, Platforms, and Multiplayer. I think the Game class will end up holding a lot of information, so following this pattern where we encapsulate some of the information in separate classes (e.g. multiplayer) could be a good idea.
Picture of JSON returned by endpoint /api/games