Skip to content

Backend for streamaze-ui. Built using Phoenix framework for fault tolerance. Includes a backend Web UI for account management.

License

Notifications You must be signed in to change notification settings

ZaneH/streamaze-api

Repository files navigation

Streamaze API

Depends On

Setup

$ git clone https://github.com/ZaneH/streamaze-api.git
$ cd streamaze-api
$ mix deps.get
$ mix ecto.setup # check dev.exs if this fails
$ mix ecto.migrate
$ cd assets/; npm install;
$ cd ..
$ iex -S mix phx.server # on localhost:4000

Environment Variables

# AWS config for S3 uploads
export AWS_ACCESS_KEY_ID=
export AWS_SECRET_ACCESS_KEY=
export AWS_REGION=

# For OBS control, livebond is closed-source, fill this with a dummy value
export LIVEBOND_API_URL=

# For PayPal Subscriptions. Subscriptions aren't required in
# the open-source version, but the code is still there.
export PAYPAL_CLIENT_ID= # PayPal API client ID
export PAYPAL_SECRET_KEY= # PayPal API secret key
export PAYPAL_WEBHOOK_ID= # PayPal API webhook ID
export PAYPAL_PLAN_1_ID= # PayPal API plan ID

# For Stripe subscriptions. Stripe is no longer used.
export STRIPE_SECRET= # fill with dummy data
export STRIPE_DEV_SECRET= # fill with dummy data

# Mailgun config
export MAILGUN_API_KEY=
export MAILGUN_DOMAIN=

Learn more

About

Backend for streamaze-ui. Built using Phoenix framework for fault tolerance. Includes a backend Web UI for account management.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project