Coder Social home page Coder Social logo

cnnewjohn / moochine Goto Github PK

View Code? Open in Web Editor NEW

This project forked from appwilldev/moochine

0.0 2.0 0.0 531 KB

MOOCHINE - A simple and lightweight web framework based on OpenResty(ngx_lua, http://openresty.org).

Home Page: https://github.com/appwilldev/moochine-demo

License: Apache License 2.0

moochine's Introduction

MOOCHINE

A (very) simple and lightweight web framework based on ngx-openresty.

Download

git clone git://github.com/appwilldev/moochine.git

Changelog

v0.3

  • move routing.lua from app directory to app root directory
  • application.lua for app config (in app root directory)
  • Multi-App support
  • Sub-App support
  • Facilities of logger and debug

How to use

  • Install ngx-openresty
  • Checkout moochine source, place it to somewhere, suppose to /path/to/machine below
  • There's some demo-apps under the dir /path/to/moochine/demos, you can run and test them after modifying these file:
    • demo1/nginx_runtime/conf/nginx.conf (the nginx config file, you need change the MOOCHINE_HOME and MOOCHINE_APP_NAME var and MOOCHINE_APP_PATH var)
    • demo1/routing.lua (url map using lua's string.match)
    • demo1/application.lua (moochine app config file)
    • demo1/templates/* (ltp templates)

Demo

A complete Demo https://github.com/appwilldev/moochine-demo

Roadmap

Moochine is simple now, so there's no Roadmap for it at the moment, but any feature request is welcome, just tell us, or make it out yourself.

License

This software is distributed under Apache License Version 2.0, see file LICENSE or http://www.apache.org/licenses/LICENSE-2.0

moochine's People

Contributors

lilydjwg avatar ldmiao avatar chenfengyuan avatar catlovemouse avatar

Watchers

James Cloos avatar  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.