Skip to content

micro/distributed

main
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Distributed

Distributed is an app for live social chat.

Live Demo

Signup to the live demo at distributed.app.

Running demo locally

Distributed is configured via environment variables. Set the environment variables by creating .env.local file in the root of the repo with the following content:

# The micro API endpoint/key
MICRO_API_ENDPOINT=http://localhost:8080
MICRO_API_KEY=$(micro user token)
MICRO_API_NAMESPACE=micro

# Sendgrid api key for sending invites
SENDGRID_API_KEY=xxxxxxxx

# Twilio api key/secret/sid for audio/video calls
TWILIO_API_KEY=xxxxxxx
TWILIO_API_SECRET=xxxxx
TWILIO_ACCOUNT_SID=xxxxxx

# Stripe api key to pay for gifs
STRIPE_PUBLIC_KEY=xxxxxx
STRIPE_PRIVATE_KEY=xxxxx
STRIPE_REDIRECT_URL=xxxxx

Install application dependencies and start the application:

npm install && npm run dev

The application is accessible on http://localhost:3000