Home

Awesome

मुनीम (Muneem)

Simple and fast web framework designed not only for developers but QAs, Maintainers, BAs, and DevOps.

<img align="left" alt="Muneem Logo" src="./static/muneem.png" width="180px" />

मुनीम (Muneem) is the web framework developed in nodejs. It is designed with the aim of easy & rapid development, small learning curve, distributed development, fast services, proper documentation, easy bug discovery and providing the best solution not only for developers but all the team members.

Your contribution will help us to grow fast

Usages

Install

$ npm i muneem --save

Example

const muneem = Muneem();

muneem.add(...);

muneem.start();

Muneem allows to add routes and request handlers from the code as well as from the file system.

Routes added using yaml mapping files are readable and can be understood and managed by non-developers;

#Scenario: this is the sample route
- route: 
    uri: /some/url
    when: POST
    to: requestHandler
    after: [ "authentication", "monitoring", "cache out"]
    then: [ "compress it" , "cache in"]

Similarly request handlers added from filesystem hides the detail of framework configuration from the user. Eg

profile.js

//@handler
var getProfileDetail = async (asked, answer, store) => {
    await asked.readXml();
    var profileDetail = store("db")( buildQuery(asked.body.profileId) );
    answer.writeXml(profileDetail);
}

//..

module.exports = getProfileDetail;

Documentation