JSPM

  • Created
  • Published
  • Downloads 70
  • Score
    100M100P100Q66443F
  • License MIT

generate new near blank project with different type

Package Exports

  • create-near-app

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (create-near-app) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Requirements

IMPORTANT: Make sure you have the latest version of NEAR Shell and Node

  • npm (Get it here)
  • node version 10.x(Get it here)
  • near-shell The NEAR cli tool.
    • Install withnpm i -g near-shell
    • Check out the commands here
    • remember to always update to the latest version
  • Whatever frontend build tools you prefer. We provide React template by default.
    • By default, gulp is used for compiling. Check it out here. (You shouldn't need to do any config for gulp specifically).

Create New Assembly project

Choose either the React JS or vanilla template

React JS app:

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

with npx:

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

with yarn:

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

Plain app:

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

with npx:

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

with yarn:

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

Create New Rust project

Provide vanilla template with smart contract in Rust

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

with npx:

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

with yarn:

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

Develop your own Dapp

Simple Tip

After create project, run npm run dev:deploy:contract to start and get familiar with features.

Next step

Follow the instructions in the README.md in the project you just created and enjoy the development with NEAR.

We have documentation with lots of examples. We have support at Discord and really welcome.