kngako / web-wallet

Galoy Web Wallet application

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Galoy Web-Wallet

What is it for?

This repository is the generic Galoy Web Wallet application that uses the Galoy backend API. It can be customized and used by any community or organization. It is built with Nodejs, TypeScript, GraphQL, and React. It runs on any modern web browser and uses a responsive layout that's friendly on small screens.

Web Wallet is packaged as a docker image, and is automatically installed as part of Galoy helm charts.

With a default installation, this web application can be accessed with wallet.domain.com. It fetches data from a graphql API endpoint graphql.domain.com defined in graphql-main-server

Config

The project depends on a few environment variables to be set. The .envrc root file has a list of them.

How to run this repo locally?

In the project directory:

yarn install

# In a terminal
yarn dev:bundler

# In another terminal
yarn dev:server

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

How to run this repo for production?

In the project directory:

yarn install

# To build the app under the `build` folder
yarn build:all

# To start the app
yarn prod:start

About

Galoy Web Wallet application

License:MIT License


Languages

Language:TypeScript 82.6%Language:CSS 11.3%Language:JavaScript 3.8%Language:Shell 1.4%Language:EJS 0.5%Language:Dockerfile 0.4%