Alem is a web3 JavaScript / TypeScript library for building applications for NEAR BOS DApps.
- Declarative: Alem makes it painless to create interactive UIs. Design simple views for each state in your application, and Alem will efficiently update and render just the right components when your data changes. Declarative views make your code more predictable, simpler to understand, and easier to debug.
- Component-Based: Build encapsulated components that manage their own state, then compose them to make complex UIs. Since component logic is written in JavaScript, you can easily pass rich data through your app.
- Learn Once, Write Anywhere: We don't make assumptions about the rest of your technology stack, so you can develop new features in Alem without rewriting existing code.
- CSS: Alem supports .css files. Just create them and they will all be included in the application.
- Routes System: An integrated router system that makes it possible to navigate between pages easily.
- Much more: Take a look at the other documentation items to learn how to use all the features provided by Alem.
Documentation - Learn how to use Alem in your project.
If you have questions or need help, please ask in the Alem Discussions.
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.
Use the command below to start an initial boilerplate.
# Npx
npx create-alem-dapp my-app
cd my-app
npm start
# Yarn
yarn create alem-dapp my-app
cd my-app
yarn start
# Npx
npx create-alem-dapp my-app --template typescript
cd my-app
npm start
# Yarn
yarn create alem-dapp my-app --template typescript
cd my-app
yarn start
You can find the Alem documentation on the website.
Check out the Getting Started page for a quick overview.
The main purpose of this repository is to continue evolving Alem core, making it faster and easier to use.
Alem is MIT licensed.