Node Developer Kit
The foundation for
business systems.
A coordinated toolkit for Node.js. Build server applications, connect your data, and deliver interfaces with JavaScript and CSS.
Node.js runtime / JavaScript source / Modular libraries
01 / Capabilities
From request to response.
The building blocks of a business application,
with
explicit configuration and readable code.
Application runtime
Define routes, compose middleware, and manage the request lifecycle with server hooks.
Server & routingApplication boundaries
Validate input with schemas and rules. Work with cookies, sessions, and cryptographic utilities.
Validation & sessionsData & integrations
Connect MongoDB, upload files to S3, and send email through SMTP using dedicated libraries.
Data accessHTML & interfaces
Compose HTML with JavaScript functions, style with CSS, and share utilities across server and browser.
Page componentsLanguage support
Organize translations, configure languages, and resolve localized routes within your application.
LocalizationDevelopment workflow
Use command-line tools for development, builds, migrations, and deployment. Test handlers and hooks.
Developer tools02 / Implementation
Small modules.
Explicit behavior.
A route declares its path, method, and handler. Application logic stays in ordinary JavaScript functions.
Start with the server, then add the libraries your application needs.
Create a servervar server = require('@nodedk/server')
server({
port: 3000,
routes: [{
paths: '/',
methods: 'GET',
handler: function (state) {
return '<h1>System ready</h1>'
}
}]
})
03 / Reference