Here’s how you can use the create-aptos-app tool to set up a new Aptos DApp using a boilerplate template:
Run the Setup Command:
npx create-aptos-app@latest
pnpx create-aptos-app@latest
Follow the Prompts:
New Project Name
Enter a New Project Name: When prompted, enter your desired project name (e.g., my-aptos-dapp).
Choose How to Start
Choose How to Start: Select Boilerplate Template to use the pre-configured template.
Choose Your Network
Choose Your Network: Choose Testnet for testing purposes.
Help Us Improve create-aptos-dapp by Collecting Anonymous Data: Choose no to opt out of data collection.
Do You Want to Make Any Changes to Your Selections? (Default is No): Choose no to proceed with the default settings.
New Aptos DApp is Ready
This setup will create a new Aptos DApp project with a boilerplate template, configured for the Testnet environment, and ready for further development.
You're ready to start building your dapp on Aptos.
Next steps:
cd my-aptos-dapp
Follow the instructions for the Boilerplate Template template on https://aptos.dev/en/build/create-aptos-dapp/templates/boilerplate