Add project management feature to organize HTTP requests into separate workspaces#6
Closed
Add project management feature to organize HTTP requests into separate workspaces#6
Conversation
Copilot
AI
restored the
copilot/fix-070736e5-b7b4-4d76-a530-3e10ad2052ea
branch
September 11, 2025 06:51
Copilot
AI
changed the title
[WIP] 可以创建一个新的项目吗?
Add project management feature to organize HTTP requests into separate workspaces
Sep 11, 2025
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Overview
This PR implements a comprehensive project management system for Tiny RequestBin, addressing the user request "可以创建一个新的项目吗?" (Can you create a new project?). The feature allows users to create and organize HTTP requests into separate project workspaces, providing better organization for debugging multiple applications or environments.
What's Changed
Backend Implementation
Projectstruct with ID, name, description, and creation timestampGET /api/projects- List all available projectsPOST /api/projects/create- Create new projects with name and descriptionGET /api/requeststo filter requests by projectFrontend Implementation
?project=project-id)Key Features
✅ Seamless project switching - Change projects without losing current view state
✅ Request isolation - Each project shows only its own captured requests
✅ Persistent URLs - Project and request context preserved in URLs for bookmarking
✅ Backward compatibility - Existing functionality preserved with automatic default project
✅ Real-time updates - Auto-refresh and pagination work correctly within project scope
Demo
Before
After - Project Management Interface
After - Project Creation Modal
Usage
?project=project-idin the URL or let it default to the current projectExample:
This enhancement significantly improves the developer experience by allowing organized debugging sessions across multiple projects, applications, or environments while maintaining the simplicity and lightweight nature of Tiny RequestBin.
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.