Coder Social home page Coder Social logo

create-aptos-dapp's Introduction

Create Aptos Dapp

create-aptos-dapp provides a starter kit for dapp developers to easily bootstrap on the Aptos network

NOTE: No need to clone: run npx create-aptos-dapp in your terminal to get started

Quick Start

To create a Aptos dapp, open your terminal, cd into the directory you’d like to create the dapp in, and run the following command:

npx create-aptos-dapp

Then follow the prompts!

(npx comes with npm 5.2+ and higher, see instructions for older npm versions)

Prerequisites

What is create-aptos-dapp?

create-aptos-dapp simplifies the initial setup and configuration process, provides a modern development workflow, gives pre-made e2e dapp templates, and offers a range of benefits that save time and effort. Using create-aptos-dapp enables developers to build dapps quicker on Aptos.

Why use create-aptos-dapp?

  • Template Setup: create-aptos-dapp generates predefined end-to-end dapp templates and configuration files for you. It saves manual setup of the project structure, which can be time-consuming and error-prone.
  • Dependencies Management: create-aptos-dapp manages project dependencies for you. It generates a npm (or pnpm, etc.) package with the required packages. This ensures that the libraries used by your project are compatible.
  • Move Directory: create-aptos-dapp generates a move directory that includes the basic structure for Move modules (smart contracts). Additionally, it adds a basic Move module and associated files.
  • Best Practices: create-aptos-dapp incorporates best practices and structure recommendations to develop for the Aptos network. This ensures that your project starts with a solid foundation.
  • Built-in Move Commands: create-aptos-dapp includes built-in commands for common tasks, such as initializing the Move compiler, compiling, and publishing smart contracts on-chain. This abstracts Move development workflows for the average dapp developer.

Templates

create-aptos-dapp provides you with pre-made end-to-end dapp templates, i.e a ready dapp with configurations and a beautiful UI to get you started with creating a dapp on Aptos.

  • Digital Asset Template: A minting NFT dapp
  • Fungible Asset Template: A minting fungible asset dapp

create-aptos-dapp's People

Contributors

0xaptosj avatar 0xmaayan avatar 0xmigo avatar blakezimmerman avatar briungri avatar johnchanguk avatar kaw2k avatar sethy8s avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

create-aptos-dapp's Issues

npm run move:init Command Failure on Windows

When attempting to run the npm run move:init command in the my-aptos-dapp directory following the setup instructions, an error occurs related to the export command. This error prevents the initialization process for the CLI Profile.
Screenshot 2023-12-22 215504
Observe the error: 'export' is not recognized as an internal or external command, operable program or batch file.

Support back/next option on wizard flow

When starting the wizard and follow each step, there is no way to go back and/or forward to a step.

Add back/next option to previous/next step and respect any choice changes.

Support confirmation prompt at the end of the Wizard Flow

Add a confirmation prompt at the end of the wizard that allows users to change their inputs before building the project.

Example:

Project name: 'fakeName',
Choose how to start: 'Toollist Dapp',
Choose network: 'Devnet',
Choose your package manager: 'npm',

Do you wish to change anything? Yes | No. 

What do you wish to edit? "ProjectName" | "Start" | "Network" | "packageManager"

Hey @0xmaayan I will lay out exactly how I plan on implementing this in a few hours after my work and you can check it out before I actually add it to the codebase.

One thing before I start, how do I test this locally? I am unfamiliar with these terminal prompts and the readme only explains how to run the deployed npm prompt.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.