https://github.com/pop-os/sponsors
The API behind Pop!_OS donations
https://github.com/pop-os/sponsors
donations sponsorships stripe-api stripe-subscriptions
Last synced: 22 days ago
JSON representation
The API behind Pop!_OS donations
- Host: GitHub
- URL: https://github.com/pop-os/sponsors
- Owner: pop-os
- License: gpl-3.0
- Created: 2020-04-21T17:12:42.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-05-07T19:41:38.000Z (about 4 years ago)
- Last Synced: 2024-10-29T18:08:13.484Z (7 months ago)
- Topics: donations, sponsorships, stripe-api, stripe-subscriptions
- Language: Elixir
- Homepage: https://sponsors.pop-os.org
- Size: 85.9 KB
- Stars: 4
- Watchers: 8
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Sponsors
The API that powers the Pop!_OS donations.
## About
In order to support donations on the Pop!_OS website we need to interact with Stripe, this API encapsulates that interaction. For the initial release of donations we intend to support only a single annual subscription plan. As such the API has been designed with that in mind. In later iterations we may elect to support multiple subscription plans.
Creating user accounts, and stripe accounts, is handled by another service.
## Installation
* Install dependencies with `mix deps.get`
* Create and migrate your database with `mix ecto.setup`
* Start Phoenix endpoint with `mix phx.server`Now you can visit [`localhost:4000`](http://localhost:4000) from your browser.