JSPM

  • Created
  • Published
  • Downloads 73
  • Score
    100M100P100Q62529F
  • License (MIT AND Apache-2.0)

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

create-near-app

Gitpod Ready-to-Code

Quickly build apps backed by the NEAR blockchain

Prerequisites

Make sure you have a current version of Node.js installed – we are targeting versions 12+. Note: if using Node version 13 please be advised that you will need version >= 13.7.0

Getting Started

You can configure two main aspects of your new NEAR project:

  • frontend: do you want a vanilla JavaScript stack or React?
  • backend: do you want your contracts to be written in Rust or AssemblyScript (a dialect of TypeScript)?
command frontend backend
npx create-near-app new-awesome-app React AssemblyScript
npx create-near-app --vanilla new-awesome-app vanilla JS AssemblyScript
npx create-near-app --rust new-awesome-app React Rust
npx create-near-app --vanilla --rust new-awesome-app vanilla JS Rust

Develop your own Dapp

Follow the instructions in the README.md in the project you just created! 🚀

Getting Help

Check out our documentation or chat with us on Discord. We'd love to hear from you!

Contributing

To make changes to create-near-app itself:

  • clone the repository
  • in your terminal, enter one of the folders inside templates, such as templates/vanilla
  • now you can run yarn to install dependencies and yarn dev to run the local development server, just like you can in a new app created with create-near-app

License

This repository is distributed under the terms of both the MIT license and the Apache License (Version 2.0). See LICENSE and LICENSE-APACHE for details.