create-alem-dapp
v0.3.0
Published
Create initial Alem dApp bundle. Alem is a library to help creating web3 applications for NEAR BOS with a focus on performance while using concepts that are based on ReactJS.
Downloads
8
Readme
Create Alem DApp
Create dApps with no build configuration and deploy them to NEAR Bos (NEAR blockchain).
Get to know more about Alem Library.
Create Alem dApp works on macOS, Windows, and Linux. If something doesn’t work, please file an issue. If you have questions or need help, please ask in the Alem Discussions.
Quick Overview
npx create-alem-dapp my-app
cd my-app
npm start
If you want to use Typescript, you can use the typescript template like so:
npx create-alem-dapp my-app --template typescript
cd my-app
npm start
Or even using Tailwind:
npx create-alem-dapp my-app --template typescript-tailwind
cd my-app
npm start
Creating an App
You’ll need to have Node 18.0.0 or later version on your local development machine. You can use nvm (macOS/Linux) or nvm-windows to switch Node versions between different projects.
To create a new app, you may choose one of the following methods:
Npx
npx create-alem-dapp my-app
Yarn
yarn create alem-dapp my-app
It will create a directory called my-app
inside the current folder.
Inside that directory, it will generate the initial project structure and install the dependencies:
No configuration or complicated folder structures, only the files you need to build your app. Once the installation is done, you can open your project folder:
cd my-app
Inside the newly created project, you can run some built-in commands:
npm start
or yarn start
Runs the app in development mode. If it doesn't open automatically, open http://localhost:8080 or http://127.0.0.1:8080 to view it in the browser.
The page will automatically reload if you make changes to the code. You will see the build errors and lint warnings in the console.
Contributing
We'd love to have your helping hand on create-alem-dapp
!
License
Create Ale dApp is open source software licensed as MIT.