-
Notifications
You must be signed in to change notification settings - Fork 501
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
chore: Monorepo Ratelimiting starter kit made in Nextjs 15 #2626
base: main
Are you sure you want to change the base?
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
📝 WalkthroughWalkthroughThe pull request introduces a new template entry to a list of templates for API protection using Unkey. It features a contribution by Bhavesh Mishra, titled "Unkey Nextjs 15 MonoRepo ratelimiting template," and includes a link to the corresponding GitHub repository. The entry is dated 30-October-2024 and adheres to the existing submission format, maintaining the requirements for open-source licensing and README.md inclusion. Changes
Possibly related PRs
Suggested labels
Suggested reviewers
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
@thefool76 is attempting to deploy a commit to the Unkey Team on Vercel. A member of the Team first needs to authorize it. |
Thank you for following the naming conventions for pull request titles! 🙏 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
🧹 Outside diff range and nitpick comments (1)
oss.gg/7_create_a_template.md (1)
60-60
: Fix framework name formatting.Please update the formatting to match the official spelling:
-» 30-October-2024 by Bhavesh Mishra [Unkey Nextjs 15 MonoRepo ratelimiting template] +» 30-October-2024 by Bhavesh Mishra [Unkey Next.js 15 MonoRepo Rate Limiting Template]🧰 Tools
🪛 LanguageTool
[uncategorized] ~60-~60: The official spelling of this programming framework is “Next.js”.
Context: ...0-October-2024 by Bhavesh Mishra [Unkey Nextjs 15 MonoRepo ratelimiting template](http...(NODE_JS)
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
📒 Files selected for processing (1)
oss.gg/7_create_a_template.md
(1 hunks)
🧰 Additional context used
🪛 LanguageTool
oss.gg/7_create_a_template.md
[uncategorized] ~60-~60: The official spelling of this programming framework is “Next.js”.
Context: ...0-October-2024 by Bhavesh Mishra [Unkey Nextjs 15 MonoRepo ratelimiting template](http...
(NODE_JS)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The README.md is just the turborepo starter, please provide a good README.md as that is part of the requirements.
Please also sign the CLA.
@perkinsjr done added the readme and signed the CLA |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done with the changes
What does this PR do?
I have created a Next.js monorepo starter template with Unkey rate limiting using Turborepo
My first template for this hackathon
dir structure
Project structure
.
├── apps/
│ ├── web/ # Next.js web application
│ └── docs/ # Documentation site
├── packages/
│ ├── ui/ # Shared UI components
│ ├── utils/ # Shared utilities
│ ├── api/ # API utilities and types
│ └── config/ # Shared configuration
├── package.json
├── turbo.json
└── README.md
Key features of this template:
Monorepo structure with shared packages
Type-safe API calls with rate limiting
Reusable UI components for rate limit feedback
Middleware approach to rate limiting
Shared utilities and configurations
Ready-to-use example implementation
Points
750
Repo
How should this be tested?
Checklist
Required
pnpm build
pnpm fmt
console.logs
git pull origin main
Appreciated
Summary by CodeRabbit