2021-08-15 20:38:31 +02:00
|
|
|
# Nork
|
|
|
|
Simple node.js tool that extends express projects.
|
|
|
|
|
|
|
|
- [About](#about)
|
|
|
|
- [Installation](#installation)
|
|
|
|
- [How to use](#how-to-use)
|
2021-08-14 15:55:17 +02:00
|
|
|
|
|
|
|
## About
|
2021-08-15 20:41:22 +02:00
|
|
|
The point of this tool is to add to express some feeling of php framework Laravel. Primarily get simply express app into MVC architecture.
|
2021-08-14 15:55:17 +02:00
|
|
|
|
|
|
|
## Installation
|
2021-08-15 20:38:31 +02:00
|
|
|
```
|
|
|
|
npm install -g nork
|
|
|
|
```
|
2021-08-15 20:41:22 +02:00
|
|
|
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:
|
2021-08-15 20:38:31 +02:00
|
|
|
```
|
|
|
|
npm install nork
|
|
|
|
```
|
2021-08-14 15:55:17 +02:00
|
|
|
## How to use
|
2021-08-15 20:38:31 +02:00
|
|
|
```
|
|
|
|
Usage: nork <command> [options]
|
2021-08-14 15:55:17 +02:00
|
|
|
|
2021-08-15 20:38:31 +02:00
|
|
|
Options:
|
2021-08-15 20:46:35 +02:00
|
|
|
-v, --version output the version number
|
|
|
|
-h, --help output usage information
|
2021-08-14 15:55:17 +02:00
|
|
|
|
2021-08-15 20:38:31 +02:00
|
|
|
Commands:
|
2021-08-15 20:46:35 +02:00
|
|
|
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
|
2021-08-15 20:38:31 +02:00
|
|
|
```
|