nork/README.md
2021-08-15 20:41:22 +02:00

37 lines
1.2 KiB
Markdown

# Nork
Simple node.js tool that extends express projects.
- [About](#about)
- [Installation](#installation)
- [How to use](#how-to-use)
## About
The point of this tool is to add to express some feeling of php framework Laravel. Primarily get simply express app into MVC architecture.
## Installation
```
npm install -g nork
```
This will install nork globally. If you would like to install nork for only one project, you can also install it locally. For local installation:
```
npm install nork
```
## How to use
```
Usage: nork <command> [options]
Options:
-v, --version output the version number
-h, --help output usage information
Commands:
create [app-name] create a new project
make:controller create a new controller
make:middleware create a new middleware
make:model create a new model
make:route create a new route
make:test create a new test
make:view create a new view
setup set up an existing project for nork
```