https://github.com/zaneh/streamaze-api
Backend for streamaze-ui. Built using Phoenix framework for fault tolerance. Includes a backend Web UI for account management.
https://github.com/zaneh/streamaze-api
elixir flowbite phoenix
Last synced: 11 months ago
JSON representation
Backend for streamaze-ui. Built using Phoenix framework for fault tolerance. Includes a backend Web UI for account management.
- Host: GitHub
- URL: https://github.com/zaneh/streamaze-api
- Owner: ZaneH
- License: gpl-3.0
- Created: 2023-03-07T05:45:07.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-01-18T02:53:38.000Z (about 2 years ago)
- Last Synced: 2025-02-02T17:56:02.601Z (about 1 year ago)
- Topics: elixir, flowbite, phoenix
- Language: Elixir
- Homepage: https://my.streamaze.xyz
- Size: 566 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Streamaze API
## Depends On
- [ZaneH/streamaze-donation-service](https://github.com/ZaneH/streamaze-donation-service)
## 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
* Official website: https://www.phoenixframework.org/
* Guides: https://hexdocs.pm/phoenix/overview.html
* Docs: https://hexdocs.pm/phoenix
* Forum: https://elixirforum.com/c/phoenix-forum
* Source: https://github.com/phoenixframework/phoenix