-
Notifications
You must be signed in to change notification settings - Fork 321
Cloud plan handing #769
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Cloud plan handing #769
Changes from 21 commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
87d6c3a
wip
yujonglee 9905891
checkout wip
yujonglee dca0efa
stripe wip
yujonglee 497de6f
i18n
yujonglee ae5a1c9
more progress
yujonglee e3d121d
wip
yujonglee d0f7753
update subscription endpoint
yujonglee 715f75b
fix port
yujonglee b780eb7
refactor using envy
yujonglee 5e5d082
update price id etc
yujonglee 5d83a23
add webhook secret
yujonglee e9aa489
fix typo
yujonglee 85ba4c5
will display billing in plans route
yujonglee 0681e29
init membership plugin
yujonglee 72ae47c
add store
yujonglee 79e5031
done with membership plugin
yujonglee c1f1df2
fix permission stuffs
yujonglee f098b88
ui update
yujonglee 80d604d
i18n
yujonglee 2ba5fe6
fix build
yujonglee 00bba94
Merge branch 'main' into cloud-plan-handle
yujonglee 07aad4e
chores
yujonglee e2f2496
onboarding wip
yujonglee 14d0bf4
wip
yujonglee ffbdf83
wip
yujonglee 118f585
Merge remote-tracking branch 'origin/main' into cloud-plan-handle
yujonglee aa7bc7b
update lock
yujonglee 6a89a6c
fix type
yujonglee File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
pub fn load() -> ENV { | ||
#[cfg(debug_assertions)] | ||
dotenv::from_filename(".env.local").unwrap(); | ||
|
||
envy::from_env::<ENV>().unwrap() | ||
} | ||
|
||
#[derive(Debug, serde::Deserialize)] | ||
pub struct ENV { | ||
pub sentry_dsn: String, | ||
pub turso_api_key: String, | ||
pub turso_org_slug: String, | ||
pub clerk_secret_key: String, | ||
pub deepgram_api_key: String, | ||
pub clova_api_key: String, | ||
pub turso_admin_db_name: String, | ||
pub nango_api_base: String, | ||
pub nango_api_key: String, | ||
pub posthog_api_key: String, | ||
pub s3_endpoint_url: String, | ||
pub s3_bucket_name: String, | ||
pub s3_access_key_id: String, | ||
pub s3_secret_access_key: String, | ||
pub openai_api_key: String, | ||
pub openai_api_base: String, | ||
pub stripe_secret_key: String, | ||
pub stripe_webhook_signing_secret: String, | ||
pub app_static_dir: String, | ||
#[serde(default = "default_port")] | ||
pub port: String, | ||
} | ||
|
||
fn default_port() -> String { | ||
"1234".to_string() | ||
} |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.