Skip to main content

Back-End SDK

The Back-End SDK is a Typescript package of common functions and libraries used in Nodeblocks. It is used as the basis of each of the Blocks used in Nodeblocks, but can also be used on its own as a means to integrate and interface your own custom applications and monoliths with the Nodeblocks ecosystem.

Functionality

ModuleDescription
adapterAdapter typescript types and default handlers
appNodeblocks app configuration (e.g. rate limiting, CORS, Express settings)
bucketGoogle Cloud/AWS buckets
coreCore functionality; Error handling, Logging, AJV validation, Network requests, Authentication
cryptoCryptography functions; Private/Public keys
externalThird party services; Mail providers
modulePrefab modules used in multiple blocks: Attachments module, Follower module, etc
mongoMongoDB query methods; pagination, connection setup
routerExpress Routing; typing, helpers, OAuth default routes
securityValidators; auth, utility, schema enforcement
utilMiscellaneous utility functions; custom fields, status codes, etc

Developer Guide

A full explanation of all methods and types provided in the Back-End SDK can be found in the TSDocs Reference.