Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@vcita/infra-nestjs

Package Overview
Dependencies
Maintainers
0
Versions
124
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vcita/infra-nestjs

Nest TypeScript repository containing infrastructure for new vcita services

  • 2.18.1
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

Node Package - Infra NestJS

This package contains the infrastructure definition and code conventions boilerplate for vCita's Node.js services implemented by NestJS framework.
It is coded in TypeScript, to learn more on TypeScript and follows the NestJS as framework, A progressive Node.js framework for building efficient, reliable and scalable server-side applications.

Content

  1. Bootstrapping a NestJS based framework
  2. Configurations definitions and connections
    1. DB connection
    2. Redis
    3. Queuing system
    4. Logging
    5. Timeouts
  3. vCita's responses and errors standards
    1. Decorators for easily swaggerizing in the standard format
    2. Interceptor applying the standard before returning answer
  4. Global exception handling
  5. Logging utils
    1. Logger middleware
    2. Infra logger class
  6. Timeouts interceptor
  7. Health check controller
  8. Common enums
  9. Base classes
    1. DB entity & repository
    2. Custom exceptions
    3. Processor (worker)
  10. Testing bases
  11. Other utils
    1. ORM config generator
    2. Swaggerizer 3-to-2

Versioning

Versioning of this package follows the Semantic Versioning standards.

Given a version number MAJOR.MINOR.PATCH, increment the:

MAJOR version when you make incompatible API changes, MINOR version when you add functionality in a backwards compatible manner, and PATCH version when you make backwards compatible bug fixes.

FAQs

Package last updated on 25 Jun 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc