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

Latest commit

 

History

History
38 lines (25 loc) · 858 Bytes

README.md

File metadata and controls

38 lines (25 loc) · 858 Bytes

Wrabit Webapp 🐇

Wrabit is a platform for building a daily writing habit. The more you write, the more we donate to mental health research.

Getting Started

Requirements

For now the following are required:

  • Stripe (for payments)
  • Sentry (for errors)

Environment

// URL for the backend
API_ENDPOINT="http://localhost:8080"

// Key for your Stripe test account
STRIPE_KEY="pk_test_XXXXXXXXXXXXXXXXXXXX"

// Stripe plan for the monthly subscription
MONTHLY_PLAN_ID="plan_FsvZtUpz9xw0Tx"

// Stripe plan for the yearly subscription
YEARLY_PLAN_ID="plan_FtuSSAndZnWxET"

// Sentry DSN to send errors to
SENTRY_DSN="https://[email protected]/XXXXXX"

Setup

  1. Create required accounts (see above)
  2. Copy .env.example to .dev.env and fill out the fields
  3. Install dependencies with yarn
  4. Run yarn dev