Modules
What are Modules?
Modules are logical containers that group related endpoints together. Think of them as folders or categories within your project. A well-organized project might have modules like "Authentication", "Users", "Products", "Orders", etc.
Without Modules
Flat, hard to navigate
With Modules
Organized, easy to find
Creating a Module
Open Project Menu
Expand your project, then click the three-dot menu (⋮) next to the project name.
Select "Add Module"
Click the "Add Module" option in the dropdown menu.
Enter Module Name
In the dialog, enter a descriptive name for your module (e.g., "Users", "Authentication").
Module is Created
The new module appears under your project. It's initially empty - ready for endpoints.
Module in Sidebar
Once created, modules appear under their project with a distinct icon:
• Click the module name to expand/collapse its endpoints
• Hover to reveal the menu button (⋮)
• The arrow indicates expand/collapse state
Module Menu
Click the three-dot menu (⋮) on a module to access these actions:
Add Endpoint
Create a new endpoint within this module. See the "Endpoints" section for details.
Rename
Change the module name. The name becomes editable inline. Press Enter to save or Escape to cancel.
Delete
Delete the module and all its endpoints. A confirmation dialog appears. This action cannot be undone.
Module Naming Best Practices
Good Names
- • Users
- • Authentication
- • Products
- • Orders
- • Payments
- • Notifications
Avoid
- • Module 1
- • API
- • Endpoints
- • Misc
- • Other
- • Stuff
Tip: Name modules after the resource or domain they represent. Use plural nouns (Users, not User) for consistency.