Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>express-mongo-snippetsNew to Visual Studio Code? Get it now.
express-mongo-snippets

express-mongo-snippets

Sunil Baral

|
35,790 installs
| (1) | Free
Express Mongo DB Snippets
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

express-mongo-snippets README

This project aims to make available a set of Snippets or shortcuts for creating basic route, model and auth in Node applications.js with Express and Mongoose.

Features

Below are the shortcuts. The ⇥ means the TAB

Trigger Content
emapp → Create Express Server App
erg → Create Get Route Method
erp → Create POST Route Method
eru → Create PUT Route Method
erd → Create DELETE Route Method
emr → Create All Route Methods
emra → Create All Route Methods with Auth Middleware
mdbc → Create Local Mongo DB Connect
mdbce → Create Mongo DB Cloud Connection
msch → Create Mongoose Model
jwtauth → Create JWT Authorization Middleware

For more information

  • Visual Studio Code's Markdown Support
  • Markdown Syntax Reference

Enjoy!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft