Update README.md

This commit is contained in:
Filip Rojek 2021-08-15 20:38:31 +02:00 committed by GitHub
parent 575804833e
commit 8996cd610f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
```