zents-cli
    TypeScript icon, indicating that this package has built-in type declarations

    0.2.1 • Public • Published

    ZenTS Logo

    GitHub top language GitHub code size in bytes GitHub issues GitHub pull requests npm node-current Website NPM

    Website | Documentation | Roadmap | Changelog | Twitter | npm

    ZenTS is a fast and modern MVC framework for Node.js & TypeScript.

    Quick Start

    ZenTS is a Node.js framework and available through the npm registry.

    Before you can start using ZenTS, you need to download and install Node.js for your operation system. After installing Node.js you can create a fresh ZenTS project with the CLI:

    npm i zents-cli -g
    zen create myproject
    cd myproject
    zen dev

    The above command will install the latest version of the CLI globally and creates a new ZenTS project in the myproject folder.

    Features

    • Robust controller and service containers
    • Super fast routing system
    • Autoloading capabilities, never manage a list of project dependencies by yourself again
    • Session and user management with redis, ORM or filesystem storage
    • Ships with TypeORM out-of-the-box
    • Includes a battle tested template engine (Nunjucks)
    • Easy accessible request and response context
    • Auto response workflows
    • Many, many more

    Documentation

    Head over to the official website and read the documentation.

    Breaking changes in v0.3.0

    Version 0.3.0 introduced all new context decorators like @body, @params and @context. Previously to v0.3.0 every controller action was passed a context argument, this is not the case anymore. The dependency injection system cares now about which context interfaces are necessary for a controller action. Thus, you've to use the new decorators for accessing things like the request body. The easiest way to upgrade to v0.3.0 is to use the @context decorator, which is the same, then the context argument used in v0.2.0.

    Check out the controller documentation for more information.

    License

    MIT

    Install

    npm i zents-cli

    Homepage

    zents.dev

    DownloadsWeekly Downloads

    19

    Version

    0.2.1

    License

    MIT

    Unpacked Size

    244 kB

    Total Files

    63

    Last publish

    Collaborators

    • sahachide