Getting Started
Overview
Complete guide to get started with RNode Server.
Quick Start
- Installation - Install and setup RNode Server
- Quick Start - Create your first server
- Configuration - Configure SSL, logging, and more
Installation
bash
npm install rnode-serverYour First Server
javascript
import { createApp } from 'rnode-server';
const app = createApp();
const port = 3000;
app.get('/hello', (req, res) => {
res.json({ message: 'Hello World!' });
});
app.listen(port, () => {
console.log(`🚀 Server started on port ${port}`);
});Key Concepts
Express-like API
RNode Server provides a familiar Express.js-like API for easy migration and adoption.
High Performance
Built with Rust backend for exceptional performance - up to 2.7× faster than Express.js.
TypeScript Support
Full TypeScript support with comprehensive type definitions.
Built-in Features
- Static file serving
- File upload/download
- Template engine
- HTTP utilities
- Prometheus metrics
Next Steps
- API Reference - Complete API documentation
- Examples - Practical usage examples
- Architecture - System design overview