Skip to content

satsgg/sats.gg

Repository files navigation

SATS.GG

A Nostr client focused on live streaming.

Features

  • NIP-28 Public Chat
  • NIP-57 Lightning Zaps
  • NIP-07 Nostr Browser Extension Support
  • WebLN One Tap Zaps
  • Live streaming infrastructure provided

Setup

yarn:

yarn
yarn dx

Start Development

yarn:

yarn dev -H <YOUR_LOCAL_IP>

Requirements

  • Node >= 14
  • Postgres

e2e tests

In order to run the e2e tests the vars in .jest/setEnvVars.js have to be completed.

Development

Start project

yarn dx

Commands

yarn build      # runs `prisma generate` + `prisma migrate` + `next build`
yarn db-reset   # resets local db
yarn dev        # starts next.js
yarn dx         # starts postgres db + runs migrations + seeds + starts next.js
yarn test-dev   # runs e2e tests on dev
yarn test-start # runs e2e tests on `next start` - build required before
yarn test:unit  # runs normal jest unit tests
yarn test:e2e   # runs e2e tests

Credit

https://github.com/zerealschlauskwab/lnapp-starter/tree/master zeRealSchlausKwab@stacker.news, @SchlausKwab, zeRealSchlausKwab