https://github.com/kactus-io/api
https://github.com/kactus-io/api
api kactus serverless
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/kactus-io/api
- Owner: kactus-io
- Created: 2017-06-25T19:55:46.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2024-08-30T10:44:01.000Z (over 1 year ago)
- Last Synced: 2025-04-12T18:57:41.841Z (12 months ago)
- Topics: api, kactus, serverless
- Language: TypeScript
- Size: 1.16 MB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Secrets
Create 2 files called `config.dev.yml` and `config.production.yml` containing
```yml
GITHUB_CLIENT_ID: XXXXXXX
GITHUB_CLIENT_SECRET: XXXXXXX
STRIPE_SECRET: XXXXXX
STRIPE_ENDPOINT_SECRET: XXXXXX
```
### ORGS
1. user login with GitHub on the web
2. if already part of 1 org -> skip else if already part of multiple orgs if admin of 1 org -> show this one else show an org picker else pay with stripe -> create a valid org with the user as an admin
3. if the user is not the admin of the org -> only display the members without possibility to do anything else show a dashboard to add/promote/remove members and a button to pay again if the org is not valid anymore
Adding a member adds a subscription item Removing a member remove the subscription item