ERC721 baseURI

:1234: Code to reproduce

:computer: Environment

Hi, im building a simple staking site, I'm a little confused with the TokenURI stuff. so while i mint a function I want to set the tokenURI but the contract has a function that is the baseURI and it Abu.encodes it with the tokenId? the baseURI is the same for all the nfts that will be minted ? and how do i set it up?

Please see the docs for _baseUri to understand how it works.