verbiricha / gives

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bitcoiner.gives

An app for subscribing to Bitcoin charities using the Strike API.

Installation

Install dependencies:

npm install

Development

This is a basic Next.js app. Run the development server:

npm run dev

Configuration

All configuration is done through environment variables. Some default values are provided in .env.development for development purposes.

Available options are:

  • STRIKE_API_URI
    URL of the Strike API. e.g. https://api.strike.me/v1

  • STRIKE_API_SCOPE
    API Scopes to request. See https://docs.strike.me/api/ for possible values. e.g. 'openid offline_access profile partner.invoice.read'

  • STRIKE_IDENTITY_SERVER_URL
    URL of the Strike Identity Server. e.g. https://auth.strike.me

  • STRIKE_IDENTITY_SERVER_CLIENT_ID
    Strike OAuth Client ID. e.g. strike-oauth-example

  • STRIKE_IDENTITY_SERVER_CLIENT_SECRET
    Strike OAuth Client Secret. e.g. 1234567890

  • NEXTAUTH_SECRET
    Secret used to encrypt the NextAuth.js JWT. e.g. jae6Yoox5eeMaewuzookeib5ieMoo9ce

About


Languages

Language:TypeScript 91.8%Language:JavaScript 7.9%Language:Shell 0.3%