Skip to content

Commit

Permalink
feat: implement dynamic pagination for environments (fixes keyshade-x…
Browse files Browse the repository at this point in the history
  • Loading branch information
MohamedHamdanA committed Feb 23, 2025
0 parents commit bfc1d64
Show file tree
Hide file tree
Showing 947 changed files with 102,265 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules/
data/
68 changes: 68 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
DATABASE_URL=postgresql://postgres:[email protected]:5432/keyshade_db
ADMIN_EMAIL=[email protected]
REDIS_URL=redis://127.0.0.1:6379
REDIS_PASSWORD=

API_PORT=4200
DOMAIN=localhost

GITHUB_CLIENT_ID=
GITHUB_CLIENT_SECRET=
GITHUB_CALLBACK_URL=

GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
GOOGLE_CALLBACK_URL=

GITLAB_CLIENT_ID=
GITLAB_CLIENT_SECRET=
GITLAB_CALLBACK_URL=

SENTRY_ORG=
SENTRY_ENV=

SENTRY_API_DSN=
SENTRY_API_TRACES_SAMPLE_RATE=1.0
SENTRY_API_PROFILES_SAMPLE_RATE=1.0

NEXT_PUBLIC_SENTRY_WEB_DSN=
NEXT_PUBLIC_SENTRY_WEB_TRACES_SAMPLE_RATE=1.0
NEXT_PUBLIC_SENTRY_WEB_PROFILES_SAMPLE_RATE=1.0
NEXT_PUBLIC_GOOGLE_ANALYTICS_MEASUREMENT_ID=

NEXT_PUBLIC_SENTRY_PLATFORM_DSN=
NEXT_PUBLIC_SENTRY_PLATFORM_TRACES_SAMPLE_RATE=1.0
NEXT_PUBLIC_SENTRY_PLATFORM_PROFILES_SAMPLE_RATE=1.0
NEXT_PUBLIC_BACKEND_URL=http://localhost:4200

SENTRY_CLI_DSN=
SENTRY_CLI_TRACES_SAMPLE_RATE=1.0
SENTRY_CLI_PROFILES_SAMPLE_RATE=1.0

SMTP_HOST=
SMTP_PORT=
SMTP_SECURE=false
SMTP_EMAIL_ADDRESS=
SMTP_PASSWORD=
FROM_EMAIL="your-name <[email protected]>"

MINIO_ENDPOINT=
MINIO_PORT=
MINIO_ACCESS_KEY=
MINIO_SECRET_KEY=
MINIO_USE_SSL=
MINIO_BUCKET_NAME=

JWT_SECRET=secret

WEB_FRONTEND_URL=http://localhost:3000
PLATFORM_FRONTEND_URL=http://localhost:3025
PLATFORM_OAUTH_SUCCESS_REDIRECT_PATH=/oauth/signin
PLATFORM_OAUTH_FAILURE_REDIRECT_PATH=/oauth/failure

FEEDBACK_FORWARD_EMAIL=

NODE_ENV=dev

THROTTLE_TTL=60
THROTTLE_LIMIT=5
5 changes: 5 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners

apps/web @kriptonian1
apps/platform @kriptonian1
apps/api @rajdip-b
4 changes: 4 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# These are supported funding model platforms

open_collective: keyshade
custom: ["https://console.algora.io/bounties/new"]
38 changes: 38 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''

---

## Description
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

## Solution
A clear and concise description of what you want to happen.

## Alternatives
A clear and concise description of any alternative solutions or features you've considered.

## Additional context
Add any other context or screenshots about the feature request here.
41 changes: 41 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
## Description

_Give a summary of the change that you have made_ <br />

Fixes #[ISSUENO]

## Dependencies

_Mention any dependencies/packages used_

## Future Improvements

_Mention any improvements to be done in future related to any file/feature_

## Mentions

_Mention and tag the people_

## Screenshots of relevant screens

_Add screenshots of relevant screens_

## Developer's checklist

- [ ] My PR follows the style guidelines of this project
- [ ] I have performed a self-check on my work

**If changes are made in the code:**

- [ ] I have followed the [coding guidelines](https://google.github.io/styleguide/jsguide.html)
- [ ] My changes in code generate no new warnings
- [ ] My changes are breaking another fix/feature of the project
- [ ] I have added test cases to show that my feature works
- [ ] I have added relevant screenshots in my PR
- [ ] There are no UI/UX issues


### Documentation Update

- [ ] This PR requires an update to the documentation at [docs.keyshade.xyz](https://docs.keyshade.xyz)
- [ ] I have made the necessary updates to the documentation, or no documentation changes are required.
81 changes: 81 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
name-template: 'v$RESOLVED_VERSION'
tag-template: 'v$NEXT_PATCH_VERSION'
categories:
- title: 'Features'
labels:
- 'type: feature'

- title: 'Breaking Changes'
labels:
- 'type: breaking'

- title: 'Documentation'
labels:
- 'type: docs'

- title: 'Bug Fixes'
labels:
- 'type: fix'

- title: 'Patches'
labels:
- 'type: chore'
- 'type: tests'
- 'type: patch'

- title: 'Miscellaneous'
labels:
- 'type: misc'

change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
change-title-escapes: '\<*_&'

version-resolver:
major:
labels:
- 'type: breaking'
minor:
labels:
- 'type: feature'

patch:
labels:
- 'type: fix'
- 'type: chore'
- 'type: docs'
- 'type: bug'
- 'type: testing'
default: patch

exclude-labels:
- 'release: skip changelog'

template: |
## Changes
$CHANGES
autolabeler:
- label: 'type: chore'
title:
- /chore/i
- /refactor/i

- label: 'type: fix'
title:
- /fix/i
- /hotfix/i
- /bugfix/i
- /patch/i

- label: 'type: feature'
title:
- /feat/i
- /feature/i
- /enhancement/i
- /new/i

- label: 'type: docs'
title:
- /doc/i
- /docs/i
Loading

0 comments on commit bfc1d64

Please sign in to comment.