Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>RK Node StarterNew to Visual Studio Code? Get it now.
RK Node Starter

RK Node Starter

Karthik-RK

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

Node.js Backend Starter Extension

This VS Code extension initializes a simple Node.js backend project with Express, Prisma, and other commonly used packages. It automates the process of setting up the project by creating the necessary folder structure, initializing the npm project, installing dependencies, and creating a basic index.js file.

Features

  • Creates a backend folder in your current workspace
  • Initializes a Node.js project in the backend folder using npm init.
  • Installs the following packages:
    • express
    • body-parser
    • axios
    • cors
    • dotenv
    • nodemon
    • prisma
    • @prisma/client
  • Initializes Prisma with npx prisma init.
  • Automatically creates a basic index.js file with the following:
    • Express setup
    • CORS configuration
    • Environment variable handling using dotenv
    • Prisma client instance
  • The server listens on port 3000 by default.

Usage

  1. Open a workspace in VS Code where you want to initialize your backend.
  2. Press Ctrl+Shift+P or Cmd+Shift+P (Mac) to open the Command Palette.
  3. Search for RK Init Node and select the command.
  4. The extension will:
    • Create a backend folder in your workspace.
    • Run npm init in the folder.
    • Install necessary dependencies.
    • Initialize Prisma.
    • Create a basic index.js file for the backend.
  5. Once the process is complete, you'll see a success message in VS Code.

Project Structure

workspace/
│
├── backend/
│   ├── index.js
│   ├── node_modules/
│   ├── package.json
│   ├── .env
│   ├── prisma/
│   │   └── schema.prisma
│   └── (other dependencies)
└── (other workspace files)

Commands

  • RK Init Node: This command creates a backend folder and initializes the project with Express and Prisma.

Requirements

  • Node.js installed locally on your machine.
  • A workspace folder opened in VS Code.

Extension Settings

No additional settings are required.

Known Issues

  • Ensure the Prisma CLI (npx prisma) can be run in your terminal. If there are issues initializing Prisma, check your terminal or shell environment.

Release Notes

1.0.0

  • Initial release of the Node.js Backend Starter Extension.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft