Open frankcollins3 opened 1 year ago
tomorrow's minimum viability test route: entity framework route that returns pokeAPI data. chatGPT confirmed that entity doesn't need to return db data (even though pokeAPI is db data but it's not a local postgres db) [11:35pm]
also minimum viability will be to remove these fields from the model:
pokeid, type,
[7:14am]
oof I never ran db migrations I should've known that asking chat to start over from yesterday: chat also mentioning migrations once the models are created. [like npx prisma migrate dev in react/nextJS] [7:19am]
attempting to do: retrieve the only pokemon data in the psql shell.
part of this comes from changing: /api/pokemon/1 to ------------> [HttpGet("{id}", Name = "GetPokemon")]
error:
proposed approach: drowning somewhat. a bit unsure tbh.
possible improvements: