Skip to content
Setup NEAR Protocol web app by running one command.
JavaScript HTML TypeScript CSS Shell
Branch: master
Clone or download
vgrichina Keep one option for --vanilla to make it easier to copy-paste
This is also generally less confusing for users, as not clear what to chose otherwise.
Latest commit 2f7ba7e Nov 18, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
blank_project add public neardev Nov 11, 2019
blank_react_project add public neardev Nov 11, 2019
test change two project to correct use and ui Nov 5, 2019
.gitignore change two project to correct use and ui Nov 5, 2019
.travis.yml add ci Nov 12, 2019
README.md Keep one option for --vanilla to make it easier to copy-paste Nov 19, 2019
index.js change noreact command Oct 30, 2019
package.json v0.2.1 Nov 11, 2019

README.md

Create NEAR App

Create web app running on NEAR Protocol blockchain with zero configuration required.

Both plain JS and React templates are available. The default generator is for react project

Usage

In command line, run different command to build different blank project:

React JS app:

npx create-near-app path/to/your/new-awesome-app

Plain app:

npx create-near-app --vanilla path/to/your/new-awesome-app

With initialization command:

React JS app:

npm init near-app path/to/your/new-awesome-app

Plain app:

npm init near-app --vanilla path/to/your/new-awesome-app

If yarn is installed:

React JS app:

yarn create near-app path/to/your/new-awesome-app

Plain app:

yarn create near-app --vanilla path/to/your/new-awesome-app

Caveats

Make sure to keep nearlib and near-shell dependencies up to date to avoid issues.

You can’t perform that action at this time.