Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>ft-nodejs-crudNew to Visual Studio Code? Get it now.
ft-nodejs-crud

ft-nodejs-crud

ft-nodejs-crud

|
10 installs
| (0) | Free
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Visual Studio Code Extension: CRUD Module Generator

This Visual Studio Code extension automates the creation of CRUD (Create, Read, Update, Delete) modules and functions within a project. It provides commands to streamline the process of generating boilerplate code for new modules and functions.

Features

  • Generate CRUD Function: Quickly create a new function with all necessary files and directories.
  • Generate CRUD Module: Create a complete CRUD module with all required components.
  • Generate Frontend Module: Create a new frontend module with all necessary files and directories.

Commands

ft-crud-function

This command generates a new function within a specified module. It creates the necessary files and directories based on predefined templates.

Usage

  1. Open the Command Palette (Cmd+Shift+P on macOS or Ctrl+Shift+P on Windows/Linux).
  2. Type ft-crud-function and select the command.
  3. Enter the module name when prompted.
  4. Enter the function name when prompted.

The extension will create the following files within the specified module:

  • controllers/<functionName>.admin.controller.ts
  • dtos/<functionName>/filter-<functionName>.dto.ts
  • dtos/<functionName>/create-<functionName>.dto.ts
  • dtos/<functionName>/update-<functionName>.dto.ts
  • repository/entities/<functionName>.entity.ts
  • repository/repositories/<functionName>.repository.ts
  • services/<functionName>.service.ts

ft-crud-module

This command generates a complete CRUD module. It creates the necessary files and directories based on predefined templates.

Usage

  1. Open the Command Palette (Cmd+Shift+P on macOS or Ctrl+Shift+P on Windows/Linux).
  2. Type ft-crud-module and select the command.
  3. Enter the module name when prompted.

The extension will create the following files within the specified module:

  • controllers/<moduleName>.admin.controller.ts
  • dtos/<moduleName>/filter-<moduleName>.dto.ts
  • dtos/<moduleName>/create-<moduleName>.dto.ts
  • dtos/<moduleName>/update-<moduleName>.dto.ts
  • repository/entities/<moduleName>.entity.ts
  • repository/repositories/<moduleName>.repository.ts
  • services/<moduleName>.service.ts
  • repository/<moduleName>.repository.module.ts
  • <moduleName>.module.ts

ft-nodejs-fe-module

This command generates a new frontend module within a specified project. It creates the necessary files and directories based on predefined templates.

Usage

  1. Open the Command Palette (Cmd+Shift+P on macOS or Ctrl+Shift+P on Windows/Linux).
  2. Type ft-nodejs-fe-module and select the command.
  3. Enter the module name when prompted.

The extension will create the following files within the specified module:

  • shared/types/<moduleName>.ts
  • shared/services/<moduleName>.service.ts
  • pages/<moduleName>/create-edit-<moduleName>/create-edit-<moduleName>.component.ts
  • pages/<moduleName>/create-edit-<moduleName>/create-edit-<moduleName>.component.html
  • pages/<moduleName>/<moduleName>.component.html
  • pages/<moduleName>/<moduleName>.component.ts
  • pages/<moduleName>/<moduleName>.module.ts
  • pages/<moduleName>/<moduleName>-routing.module.ts
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft