Giter VIP home page Giter VIP logo

ic-vcf-gatsby's Introduction

IC Address Book App

Open in Gitpod

Now with a blog post tutorial!

https://kyle-peacock.com/blog/dfinity/static-site-generators-ic

This app is a sample application meant to illustrate how to start up a new web app on the IC. The project was bootstrapped using npm init gatsby, with the following modifications:

  • Changing src/pages/index.js to be our new app
  • adding dfx.json to deploy the application on the IC

Then, to add an IC backend,

  • Adds src/backend with HashMap logic
  • adds gatsby-node to configure webpack to handle environment variables for the dfx-generated actor

Quickstart

Install the codebase with npm install

Follow directions to install dfx if you don't have it yet: https://sdk.dfinity.org/docs/index.html

run dfx start --background to start a replica;

run dfx deploy phone_book to deploy the backend canister

run npm start to spin up a development server

Publishing

Run npm run build to compile the frontend app

Run dfx deploy --network=ic to deploy the app on Sodium

ic-vcf-gatsby's People

Contributors

krpeacock avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ic-vcf-gatsby's Issues

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.