mirror of
https://github.com/filiprojek/nork.git
synced 2024-11-02 18:12:28 +01:00
Update README.md
This commit is contained in:
parent
575804833e
commit
8996cd610f
44
README.md
44
README.md
@ -1,21 +1,37 @@
|
|||||||
# Simple node.js framework that extends express
|
# Nork
|
||||||
|
Simple node.js tool that extends express projects.
|
||||||
|
|
||||||
|
- [About](#about)
|
||||||
|
- [Installation](#installation)
|
||||||
|
- [How to use](#how-to-use)
|
||||||
|
|
||||||
## About
|
## About
|
||||||
- The point of this framework is to add into express some feel of php framework Laravel.
|
The point of this tool is to add into express some feel of php framework Laravel. Primarily get simply express app into MVC architecture
|
||||||
- Primarily get simply express app into MVC architecture
|
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
- tutorial coming soon! :)
|
```
|
||||||
|
npm install -g nork
|
||||||
|
```
|
||||||
|
Tohle nainstaluje nork globálně. Pokud byste chtěli nainstalovat nork pouze pro jeden projekt, je možné ho nainstalovat i lokálně.
|
||||||
|
Pro lokální instalaci:
|
||||||
|
```
|
||||||
|
npm install nork
|
||||||
|
```
|
||||||
## How to use
|
## How to use
|
||||||
- coming soon!
|
```
|
||||||
|
Usage: nork <command> [options]
|
||||||
|
|
||||||
### Artisan
|
Options:
|
||||||
- The key tool of this framework is artisan
|
-v, --version output the version number
|
||||||
- with that tool you can easily make view, model, controller etc. with prepared lines of code that you will have to write manually, if you didn't use some tool like this. We are programmers, we are lazy to do manual stuff :).
|
-h, --help output usage information
|
||||||
|
|
||||||
#### make
|
Commands:
|
||||||
- make is the keyword that you will use with this framework a lot.
|
create [app-name] create a new project
|
||||||
- make is for creating new components of your project.
|
make:controller create a new controller
|
||||||
- to create a view, model, controller, test or routes: `node artisan make:something`
|
make:middleware create a new middleware
|
||||||
- for example, to make an controller, you will write: `node artisan make:controller`
|
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
|
||||||
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user