Skip to content
This repository has been archived by the owner on Oct 4, 2023. It is now read-only.

GaloyMoney/web-wallet

Repository files navigation

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