EndPointGen VS Code Extension

Overview

EndPointGen is a Visual Studio Code extension developed by KeshavSoft focused on AI-assisted server-side development using Node.js and Express.

Version 1.8.1
VS Code ^1.109.0
ES Modules
Untrusted Workspace Supported

GitHub Repository

EndPointGen helps developers quickly generate Node.js + Express APIs with modular architecture using AI-assisted commands inside VS Code.

Users can easily copy the GitHub repository link or open it directly. This helps them quickly access the project, view source code, and share the link with others without searching manually.

https://github.com/keshavsoft/EndPointGen

Features

Generate Express.js API instantly
Create endpoints in app.js automatically
Add modular sub-routes in routes.js
Inject endpoint logic into .js files
Right-click Explorer integration
Clean modular architecture

Commands

Command Title Description
extension.initJs Initiate Node API Creates base Express server
extension.createEndpoint CreateEndpoint Creates GET / POST route in app.js
extension.addSubRoute AddSubRoute Links router module in routes.js
extension.addEndPoint AddEndPoint Adds endpoint logic to js file

Fix App.js

Ensures app.js contains required Express configuration and route registrations.

animation

Editor Title Bar Actions

Quick access buttons in VS Code editor top-right corner.

Fix

  • Fix app.js structure
  • Add middleware
  • Connect routes

AddSubRoute

  • Import router
  • Register router
  • Maintain modular structure

AddEndPoint

  • Create GET endpoint
  • Create POST endpoint
  • Auto register route

New Feature – Editor Title Bar Actions (Top Right Buttons)

EndPointGen also provides quick access buttons in the VS Code editor title bar (top-right corner). These buttons allow you to create and manage endpoints without right-clicking in Explorer.

Available Title Bar Commands

Fix (Button)

Ensures app.js contains required Express configuration and route registrations.

Use when

  • middleware missing
  • routes not connected
  • structure broken
  • project copied from another repo
  • app.js needs standard structure

How to use

  • Open app.js
  • Click Fix button (top right)
VS Code Top Right Buttons

AddSubRoute

Registers a modular router inside routes.js.

Automatically

  • imports router
  • links router path
  • keeps modular architecture

How to use

  • Open routes.js
  • Click AddSubRoute button (top right)
VS Code Top Right Buttons

AddEndPoint

Creates a new Express route entry inside SubRoute.

Supports

  • GET endpoint
  • POST endpoint
  • automatic route registration

How to use

  • Open app.js
  • Click AddEndPoint button (top right)
  • Endpoint will be added automatically
VS Code Top Right Buttons

Benefits