Giter Club home page Giter Club logo

photoblock's Introduction

PhotoBlock ALPHA Release

PhotoBlock provides user-friendly visual account and login capability to blockchain dapps and websites. For more information, visit the TryCrypto Website, or to see PhotoBlock in action, check out the PhotoBlock Demo.

Getting started

Follow these steps to get started developing:

  • npm install
  • npm run build:sprite
  • npm run dev to transpile both the lib and docs folder in watch mode and serve the docs page for you.
  • Go to http://127.0.0.1:8000 to see the demo in action. Whenever you change the code in either src/lib or src/docs, the page will automatically update.

How it is structured

The source code has two separate parts โ€“ the library and the documentation (demo) page. Both are written in ES6, and therefore have to be transpiled by Babel but in different ways.

Component library transpilation

The library source code, which is located in src/lib, is transpiled with Babel but is not bundled with Webpack. (This is because when you use the library for your application you bundle your entire codebase, which includes this library.)

Demo app transpilation

The demo app source code lives inside the src/docs folder. It is transpiled, bundled and minified by Webpack and Babel into the docs folder in the root directory (by running npm run docs:prod). This is a completely normal HTML+JS+CSS app with minimal configuration that imports the component library. (The reason that the folder doesn't have a logical name like demo is that GitHub Pages requires it to be called docs.)

photoblock's People

Contributors

techbubble avatar

Stargazers

Harvey avatar

Watchers

James Cloos 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.