Getting Started
Last updated
Node: v16.15.0
Git: 2.30.1Prerequisite: NodeJS, Git
Optional for better development: Redux Devtool* (Chrome extension), Prettier** (Editor Extension)
* Redux Devtool is optional, but it's very helpful to follow the application's states.
** Prettier helps you maintain a consistent code style
To create a new my-app project, you can conveniently create one by create-senhub-app.
npx create-senhub-app init my-appOr,
yarn create senhub-app init my-appAdd this moment you can immediately start the project by yarn start, but we highly recommend following the next steps to be able to host your Dapp and submit it to the Sentre platform.
Because the platform only supports Github currently, you have to host your repo; and your DApp later on; on Github.
Choose the New button to create a new repository.

Fill in the repository name, then click Create repository.

After the successful creation, you will see something necessary to connect your local project to the repository.

Follow the second section in the info with additional commands to connect to the local project. For example:
Now you can start the project:
Last updated
cd ./my-app
git init
git remote add origin git@github.com:tuphan-dn/my-app.git
git branch -M master
git add .
git commit -m "first commit"
git push -u origin masteryarn start