This is a
playground to test code. It runs a full
Node.js environment and already has all of
npm’s 400,000 packages pre-installed, including
@nosplatform/create-nos-dapp with all
npm packages installed. Try it out:
This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
This is a CLI tool to generate a dApp project for the nOS platform, in your favorite frontend technology.
The goal of this project is to provide a quickstart for creating nOS dApps with various frontend technologies already installed and configured to work with the nOS platform.
First, we need to install the npm package. This will make the
create-nos-dapp command available in your command prompt. You can install the npm package by executing one of the following commands
# Using yarn yarn global add @nosplatform/create-nos-dapp # Using npm npm i -g @nosplatform/create-nos-dapp
At this point the
create-nos-dapp command should be available. To create a dApp for nOS, simply open up your command prompt and execute:
It will now ask you to choose a project template and what name you'd like to give it. The CLI-tool will create the project in the current working directory.
If you'd like to get started even faster - you could also pass some arguments to the
usage: create-nos-dapp [-h] [-v] [-t TYPE] [-n NAME] create-nos-dapp Optional arguments: -h, --help Show this help message and exit. -v, --version Show program's version number and exit. -t TYPE, --type TYPE Template type (react/vanilla/vue) -n NAME, --name NAME Project name, f.e. my-nos-dapp