Bid NFT using smart contract with moralis

I am trying to develop a NFT marketplace, I want to bid an NFT in my application. I didn’t find any biding function with ERC721 (neither I want to use the opensea API). So, can you guide me to a biding function in smart contract or any moralis function where I can bid the NFT with some expiration date.
Also, should I use the smart contracts for this or not, because I saw no other way rather than smart contracts. Thankyou

Also, should I use the smart contracts for this or not, because I saw no other way rather than smart contracts

Yes bidding (a marketplace feature) should be implemented at the smart contract level. You can search up in a search engine "auction marketplace solidity contract" for some examples.