create-alem-dapp

0.2.0 • Public • Published

Create Alem DApp

Logo

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

npx create-alem-dapp my-app

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.

Readme

Keywords

none

Package Sidebar

Install

npm i create-alem-dapp

Weekly Downloads

8

Version

0.2.0

License

MIT

Unpacked Size

70.6 kB

Total Files

12

Last publish

Collaborators

  • wpdas