# djangode **Repository Path**: mirrors_mozilla/djangode ## Basic Information - **Project Name**: djangode - **Description**: INACTIVE - http://mzl.la/ghe-archive - **Primary Language**: Unknown - **License**: BSD-2-Clause - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-22 - **Last Updated**: 2026-05-17 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README djangode ======== Utility functions for node.js that imitate some useful concepts from Django. http://nodejs.org/ http://www.djangoproject.com/ Example usage: var dj = require('./djangode'); dj.serve(dj.makeApp([ ['^/$', function(req, res) { dj.respond(res, '

Homepage

'); }], ['^/other$', function(req, res) { dj.respond(res, '

Other page

'); }], ['^/page/(\\d+)$', function(req, res, page) { dj.respond(res, '

Page ' + page + '

'); }] ]), 8008); // Serves on port 8008 Run "node example.js" for a slightly more interesting example.