Giter VIP home page Giter VIP logo

aepp-aeproject-shape-vue's Introduction

aepp-forgae-shape-vue

The shape project is a sample Wallet/Identity Aepp that expects an Aepp to be loaded into an iFrame contained into this base aepp. This loaded Aepp presents ready to use aepp with predefined Vue.js front-end framework and forgae integration. The provided boilerplate code contains all modules and settings needed to facilitate its usage - Vue.js project created by vue cli, a Sophia smart contract and scripts for deployment on the Blockchain. It gives a helpful code scaffolding for further forgae project development and shows examples how to read and record a data on the Blockchain through the browser. The aepp represents a smart contract that manages a ToDo List and enables interaction with each ToDo's status. It uses a local node spawned by forgae and one of the default forgae account to sign transactions.

Please follow the steps bellow:

Forgae installation

First you need to install forgae (if it is installed already, skip this step).

    npm install -g forgae

Download the vue shape

In a new empty folder run the following command:

    forgae shape vue

Now a tidy structured project must have been shaped.

Run a local node

Next step is to build a local aeternity node:

    forgae node

Deploy the contract

Let's deploy the contract:

    forgae deploy

Copy the deployed contract address

    forgae history

Copy the address of the contract that is shown as a Result in the report table.

Apply the deployed contract address

Assign the deployed contract address(above step) to the contractAddress property in src/contractDetails.js file. Now we are ready to run the aepp.

First start the identity/wallet Aepp, which will start on port 8080:

    cd aepp-forgae-shape-vue/identity-provider
    npm run serve

Let's start the ToDo aepp, which will start on port 8081:

    cd ../aepp
    npm run serve

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.