An Interbit CLI command that creates a new Interbit application with a connected React front-end application.
--name String Required
|
Specifies the name of the application, and the name of the directory that is created to hold all of the code and assets for the application. |
The application is created in a directory based on the --name
provided. The new application comes with scripts to interact with the
React app and the Interbit application. It is ready to go with Node.js
modules already installed.
To start the Interbit node, open a terminal window and run the following commands:
cd app-name npm run interbit:start
To start the React app (the web interface), open another terminal window and run the following commands:
cd app-name npm start