The lightweight Node.js framework for modern web applications
const Nova = require('novaxjs2');
const app = new Nova();
// Simple route
app.get('/', (req, res) => {
return 'Hello World!';
});
// API endpoint
app.get('/api/users', (req, res) => {
res.json([{ id: 1, name: 'John' }]);
});
// Start server
app.at(3000, () => {
console.log('Server running on port 3000');
});
Minimal overhead and optimized routing for high performance applications
Plugin system lets you extend functionality without bloat
Built-in protections against common web vulnerabilities
Intuitive syntax that's easy to learn and use
npm install novaxjs2
yarn add novaxjs2
Then create your first app:
// app.js
const Nova = require('novaxjs2');
const app = new Nova();
app.get('/', (req, res) => {
return 'Hello World!';
});
app.at(3000);