mirror of
https://github.com/filiprojek/nork.git
synced 2024-11-22 16:51:03 +01:00
Simple node.js tool that extends express projects.
Filip Rojek
564cd09d8b
changes: - norkconfig se generuje lepe a actually ho pouzivam - pri vytvareni projektu je mozne vybrat si orm (mongoose & sequlize) - default modely pro db se kopiruji na zaklade parametru db z norkconfigu - updatnutej ts skeleton - dropnul jsem support pro js |
||
---|---|---|
.githooks | ||
src | ||
.eslintrc.json | ||
.gitignore | ||
.mocharc.json | ||
.npmignore | ||
LICENSE | ||
norkconfig.json | ||
package.json | ||
progress-blog.md | ||
README.md | ||
setup-repo.sh | ||
tsconfig.json |
Nork
Simple node.js tool that extends express projects.
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
create [app-name] -i create a new project in current directory
make controller [name] create a new controller
make middleware [name] create a new middleware
make model [name] create a new model
make route [name] create a new route
make test [name] create a new test
make view [name] create a new view
setup set up an existing project for nork