GithubHelp home page GithubHelp logo

aragon / aragon-buidler-boilerplate Goto Github PK

View Code? Open in Web Editor NEW
2.0 3.0 6.0 1.58 MB

Buidler boilerplate for use with create-aragon-app

License: MIT License

HTML 1.90% JavaScript 98.10%
aragon boilerplate aragon-boilerplate buidler

aragon-buidler-boilerplate's Introduction

Aragon Buidler Boilerplate

๐Ÿ•ต๏ธ Find more boilerplates using GitHub | โœจ Official boilerplates

โš ๏ธ This boilerplate has been integrated into aragon-react-boilerplate and is deprecated.

Buidler + React boilerplate for Aragon applications.

This boilerplate includes a fully working example app, complete with a background worker and a front-end in React (with Aragon UI).

Usage

To setup use the command create-aragon-app:

npx create-aragon-app <app-name> buidler

Structure

This boilerplate has the following structure:

root
โ”œโ”€โ”€ app
โ”œ โ”œโ”€โ”€ src
โ”œ โ””โ”€โ”€ package.json
โ”œโ”€โ”€ contracts
โ”œ โ””โ”€โ”€ CounterApp.sol
โ”œโ”€โ”€ test
โ”œโ”€โ”€ arapp.json
โ”œโ”€โ”€ manifest.json
โ”œโ”€โ”€ buidler.config.js
โ””โ”€โ”€ package.json
  • app: Frontend folder. Completely encapsulated, has its own package.json and dependencies.
    • src: Source files.
    • package.json: Frontend npm configuration file.
  • contracts: Smart Constracts folder.
    • CounterApp.sol: Aragon app contract example.
  • test: Tests folder.
  • arapp.json: Aragon configuration file. Includes Aragon-specific metadata for your app.
  • manifest.json: Aragon configuration file. Includes web-specific configurations.
  • buidler.config.js: Buidler configuration file.
  • package.json: Main npm configuration file.

Running your app

To run the app in a browser with front end plus back end hot reloading, simply run npm start.

What's in this boilerplate?

npm Scripts

  • postinstall: Runs after installing dependencies.
  • build-app: Installs front end project (app/) dependencies.
  • start Runs your app inside a DAO.
  • compile: Compiles the smart contracts.
  • test: Runs tests for the contracts.

Libraries

aragon-buidler-boilerplate's People

Contributors

0xgabi avatar sohkai avatar theethernaut avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.