Code Monkey home page Code Monkey logo

nft_degree's Introduction

Superheroes

Compatibility Build Status

This example demonstrates how to build a CRUD application on the Internet Computer using Motoko and React.

Prerequisites

Verify the following before running this demo:

  • You have downloaded and installed Node.js.

  • You have downloaded and installed the DFINITY Canister SDK.

  • You have stopped any Internet Computer or other network process that would create a port conflict on 8000.

Run for FE

  1. Build your front-end.

    npm install
    
  npm start

Run for FE, Motoko

  1. Start a local internet computer.

    dfx start
    
  2. Open a new terminal window.

  3. Reserve an identifier for your canister.

    dfx canister create --all
    
  4. Build your front-end.

    npm install
    
  5. Build your canister.

    dfx build superheroes
    
  6. Deploy your canister.

    
    
  7. Run this

    
    dfx canister install superheroes --argument="(principal \"$(dfx identity get-principal)\")"
    
    
  npm run start:dev
  1. Take note of the URL at which the canister is accessible.

    echo "http://localhost:8000/?canisterId=$(dfx canister id www)"
    
  2. Open the aforementioned URL in your web browser.

nft_degree's People

Contributors

vyhcn3012 avatar

Watchers

 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.