How I did it:
npm install -g truffle
mkdir first-nft-smart-contract
cd first-nft-smart-contract
truffle unbox react
And leave only the scaffolding for a blank new project:
Remove all contracts in the "/contracts" folder, except the Migrations.sol file.
Remove all the tests in the "/tests" folder.
Remove all migrations except the 01_intial_migration.js.
npm install --save @openzeppelin/contracts@v3.0.0
pragma solidity >= 0.6.0;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
contract MyToken is ERC721 {
constructor() ERC721("MyTokenName", "MyTokenSymbol") public {
}
}