LAMaglan / FinalFantasyFast

Simple microservice that displays data of select characters, monsters, and games from the Final Fantasy series
0 stars 0 forks source link

Programmatically get all games #25

Closed LAMaglan closed 2 months ago

LAMaglan commented 2 months ago

Not all games are included - hardcoded in react-frontend/src/constants.js

"Easiest" way is to get from moogle "/game" endpoint (see this separate issue: https://github.com/LAMaglan/FinalFantasyFast/issues/20)

LAMaglan commented 2 months ago

Problem is that they do not necessarily match with how they are stored in the /character and /monster endpoints....

LAMaglan commented 2 months ago

Do similarly to how all characters/monsters are retrieved from /stored-characters and /stored-monsters endpoint (and then filtered for unique values)? https://github.com/LAMaglan/FinalFantasyFast/pull/29

Or do something in the backend? Maybe easier/more efficient? If in backend, can store as separate endpoint, that has in memory or stores in database (former is probably sufficient)?