Here I put Buy Me A Coffee project, learned from Alchemy Road to Web 3, and I'm gonna customize it soon.
Try running some of the following tasks:
npx hardhat help
npx hardhat test
REPORT_GAS=true npx hardhat test
npx hardhat node
npx hardhat run scripts/deploy.js