GithubHelp home page GithubHelp logo

yleight / flash-pay Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lnflash/flash-pay

0.0 0.0 0.0 3.19 MB

A fork of Galoy a web application that can be used to send tips or payments to users

License: MIT License

Shell 0.84% JavaScript 0.18% TypeScript 89.69% CSS 8.46% Makefile 0.08% Dockerfile 0.74%

flash-pay's Introduction

Galoy Pay

What is it for?

This repo is a web application that can be used to send tips or payments to users.

It's packaged as a docker image, and is automatically installed as part of the Galoy helm charts.

With a default installation, Galoy-Pay can be accessed under pay.domain.com.

Galoy-Pay uses query, mutation, and subscription operations from the Galoy's graphql API endpoints api.domain.com as defined in schema.graphql

How to run this repo locally?

In the project directory, create a file name .env.local and fill it with

NEXT_PUBLIC_GRAPHQL_HOSTNAME='api.staging.galoy.io'
NEXT_PUBLIC_GRAPHQL_HOSTNAME_INTERNAL='api.staging.galoy.io'
NEXT_PUBLIC_GRAPHQL_URI_INTERNAL='api.staging.galoy.io'
NEXT_PUBLIC_GRAPHQL_WEBSOCKET_URL='wss://ws.staging.galoy.io/graphql'

(or use your custom API URL), then run

yarn install
yarn dev

This will run the app in the development mode.

Open http://localhost:3000 to view it in the browser.

The page will automatically reload when you make edits.

You will also see any lint errors in the console.

How to run this repo in docker?

In your terminal, run

yarn build:docker

then run

yarn dev:docker

This will spin up an instance of a galoy-pay docker container running on http://localhost:3000

This will also run the app in production mode.

How to build for production?

In the project directory, you can run:

yarn install
yarn build

This will build the app for production under a build folder. It will bundle React in production mode and optimize the build for the best performance. The build will be minified, and the bundled files will include unique hashes in their names.

See the section about deployment for more information.

flash-pay's People

Contributors

abhishandy avatar aditi-singh16 avatar bodymindarts avatar daviroo avatar dependabot[bot] avatar dolcalmi avatar extheoisah avatar fiatjaf avatar galoybot avatar igbopharaoh avatar krtk6160 avatar leesalminen avatar nicolasburtey avatar ntheile avatar pseudozach avatar ronanjackson avatar samerbuna avatar sandipndev avatar toheeb-ojuolape avatar unclesamtoshi 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.