NestJS Snippets
NestJS snippets for Zed IDE. A collection of NestJS snippets to improve your development speed.
Snippets
How to install
With Forge Super installed, the button above opens the app on this extension, where you press Install. Nothing is installed until you do.
You can also open the Extensions panel in the app and search for NestJS Snippets. The extension's id is nestjs-snippets.
Don't have Forge Super yet? Download it here.
README
From the extension's repository, written by its authors and not by Mentenaz. See the source.
NestJS Snippets
NestJS snippets for Zed IDE.
Installation
- Clone this repo:
git clone https://github.com/ayberkgezer/nestjs-snippets.git
- Go to Extensions menu in Zed IDE
- Click "Install Dev Extension"
- Select the folder you cloned
Available Snippets
Core Components
nestjs-bootstrap: Creates NestJS bootstrap codenestjs-controller: Creates NestJS Controller with CRUD operationsnestjs-service: Creates NestJS Service with CRUD operationsnestjs-module: Creates NestJS Modulenestjs-root-module: Creates NestJS Root Modulenestjs-entity: Creates NestJS Entity classnestjs-dto: Creates Data Transfer Objects (DTOs)
Request Pipeline Components
nestjs-middleware: Creates NestJS Middlewarenestjs-guard: Creates NestJS Guardnestjs-interceptor: Creates NestJS Interceptornestjs-pipe: Creates NestJS Pipenestjs-exception-filter: Creates NestJS Exception Filternestjs-decorator: Creates NestJS Decorator
Validation & Testing
nestjs-validation: Creates validation class using class-validatornestjs-test: Creates NestJS Test File
Database Integration
nestjs-typeorm-module: Creates TypeORM configuration with NestJSnestjs-mongoose-module: Creates Mongoose configuration with NestJS
Configuration
nestjs-config-module: Creates and configures ConfigModule
Integrations
nestjs-slash-command: Creates Discord slash command using Necord