Overview
To avoid writing manual Node.js scripts for every code generation, you can use the companion VS Code Extension: vs-code-ext-express-api-gen-post-actions.
⚡ Visual Scaffolding Interface
The VS Code extension provides interactive sidebar tabs, form sheets, and right-click context menu options to generate files without touching the command line.
Key Features
📁 Right-Click Context Menu
Right-click any folder inside the VS Code explorer tree, select "Generate POST Action", and target that folder immediately as the destination.
📝 Input Form Validation
Enter action names, choose generation templates (withMail, insertGenPk, insertAsIs, filter, groupBy), and toggle options visually with immediate path checks.
⚡ Automatic Endpoint Registration
Leverages this package's core functions to automatically edit your local end-points.js file, immediately reloading routes inside your running dev server.
Related Extensions
If you also need to generate GET endpoints, check out the sibling extension:
vs-code-ext-express-api-gen-get-actions: Companion extension for handling GET methods, querying, and schema retrievals.