GithubHelp home page GithubHelp logo

zh / banano-site-web Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 1.0 4.32 MB

Client side React application for easy BANANO payments (QR codes)

Home Page: https://banano.site/

License: MIT License

HTML 4.06% CSS 14.60% JavaScript 81.33%
banano-currency reactjs javascript

banano-site-web's Introduction

Banano Site Web Frontend

Easy BANANO payments on the Banano Site project pages.

banano-site-web is a client side application, allowing interaction with the REST API, running on the server side.

Provided services

QR payments code for any address

Go to Payment page, fill address and amount of BANANO and press "Pay" button. This will give you nice QR code to do the payment.

Prefilled payment form

Go to https://banano.site/pay/your_username.

  • If somebody already using that username, the address in the form will be prefilled. See for example this page.
  • If not (will be "Account not found" message on the top), fill the form and claim that username with pressing "Save" button.

Avoid using special words, like root,admin,test etc. for username

In the future send your friends to https://banano.site/pay/your_username, so they can easy pay you with one button click.

TODO: do not use modal dialog for QR code display. Show directly the code and change it dynamically on amount change.

Build/Run

banano-site-web is JavaScript React application, using standard react-scripts for all tasks:

  • Install required dependencies:
yarn install
  • If needed fix the URL for the REST API endpoint in src/services/auth.service.js:
const ApiURL = "http://127.0.0.1:8080/"; // change for your setup, trailing slash
  • Start for development:
yarn start
  • Production build (for deployments):
yarn build

Contributing

  • Please open an issue or PR if you have a question or suggestion.

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.