dmef

0.0.3 • Public • Published

dmef

Double Minimal Express.js framework, it can be used for experimentation and learning purposes as it simplified the maximum, even a beginner programmer can read and understand the code source.

PRs Are welcome.

Install

npm install  --save dmef

Usage

// example
var App = require('dmef');
 
var app = new App();
 
app.get('/',function(request,response){
    response.end('You are in the home page');
});
 
app.get('/contact',function(request,response){
    response.end('You are in the contact page');
});
 
// listen on any port you wish, in this example 3000 
app.listen(3000);

You can execute the default example by running :

node example/index.js

TODO

  • Add other essential parts.

License

MIT © ismnoiet

Readme

Keywords

none

Package Sidebar

Install

npm i dmef

Weekly Downloads

2

Version

0.0.3

License

MIT

Last publish

Collaborators

  • ismnoiet