Complete newbie here so thanks in advance for tolerating the ignorance that follows.
Working on creating a little card game to learn solidity and have reached the part where I need to assign metadata to the token.
I understand that the tokenURI should point to a json file/object on my web server that is formatted to the standard. So, for token 6 it would be something like: "http://mycardgame.com/cards/6".
I also understand how I could use a variable like baseURI to store all but the "6", get the 6 when the token is minted, and put them together to form the entire URI.
What I have no earthly idea on is how to create that "6" json on the server so the URI points to a valid thing.
I imagine it's something either fairly complicated or ridiculously easy to do, otherwise at least one of the many ERC721 tutorials would have covered more than just setting the tokenURI in the contract. I'd bet complicated over easy.
So, where should I start looking to learn what I'll need to do? Not looking for a quick handout, willing to do the work of actually learning.