Giter Club home page Giter Club logo

munson's Introduction

Munson

NPM version Build Status Conventional Commits

Don't be up a creek without a paddle. Have the world in the palm of your hand with this MVC type framework for nodejs.

Munson is a Typescript MVC type framework for nodejs built on top of Express. Using fancy things like routing, controllers, decorators, IoC containers, config builders and the like, Munson gives you all the tools you need to spin up quick and easy web applications with some semblence of structure.

Getting Started

These instructions will get you up and running quickly with Munson. First, add Munson to your project.

npm install munson

// or

yarn add munson

Now you can initialize Munson in your start up code, and then create your first controller.

// start.ts
import { App } from 'munson';

const app = new App();
const port = process.env.PORT;
app.start()
  .then(() => {
    console.log(`App listening on port ${port}`);
  });


// Controllers/MainController.ts
import { Controller, HttpController, Get } from 'munson';

@Controller
export default class MainController extends HttpController {

  @Get('/')
  public index() {
    this.response.send('You just got munsoned');
  }
}

That's it! Now, equipped with this simple example, you have all the tools you need to build your enterprise node app.

Oh, you need more info? Take a look at the Todo MVC example app, or keep reading for more info on all the components.

Todo MVC example app

API Documentation

Coming Soon...

Versioning

We use SemVer for versioning. For the versions available, see the releases on this repository.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

munson's People

Contributors

davesters avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.