0.0.2 • Published 7 years ago

nodeck v0.0.2

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

nodeck npm version

npm.io

nodeck is based on koajs to provide better Web MVC development experience.

Getting Started

Requirements

  • Mac OS X, Windows, or Linux
  • Node.js v5.0 or newer
  • npm v3.3 or newer (new to npm?)

Install

$ npm install nodeck-cli -g
$ ndeck init myapp && cd myapp
$ npm install
$ npm run dev

Usage

const Nodeck = require('nodeck');
const PORT = process.env.PORT || 4567;

const app = new Nodeck();

app.start(PORT).then(() => {
    console.log(`Server start and listen at ${PORT}`);
});