Last active
September 25, 2017 00:08
-
-
Save bluekvirus/d932d3904bd32084a703 to your computer and use it in GitHub Desktop.
Koa (nodejs) app server dependencies (NPM)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "appsrv", | |
"version": "1.0.0", | |
"description": "Blueprint for node web application server", | |
"main": "index.js", | |
"dependencies": { | |
"koa": "^0.21.0", | |
"koa-body": "^1.2.1", | |
"koa-compress": "^1.0.8", | |
"koa-csrf": "^2.3.0", | |
"koa-error": "^1.1.3", | |
"koa-generic-session": "^1.9.0", | |
"koa-logger": "^1.3.0", | |
"koa-passport": "^1.1.6", | |
"koa-ratelimit": "^2.1.0", | |
"koa-redis": "^1.0.0", | |
"koa-response-time": "^1.0.2", | |
"koa-router": "^5.1.2", | |
"koa-session": "^3.3.1", | |
"primus": "^3.2.0", | |
"sequelize": "^3.4.1" | |
}, | |
"devDependencies": { | |
"supertest": "^1.0.1" | |
}, | |
"scripts": { | |
"start": "node --harmony index.js", | |
"test": "echo \"Error: no test specified\" && exit 1" | |
}, | |
"repository": { | |
"type": "git", | |
"url": "git+https://github.com/bluekvirus/skeleton-appsrv.git" | |
}, | |
"author": "Tim Lauv <[email protected]>", | |
"license": "MIT", | |
"bugs": { | |
"url": "" | |
}, | |
"homepage": "" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Since we don't really want to continue nodejs support as middleware after Stage.js v1, you are free to choose whatever middleware tech you like to write the web services. Use the above package.json if you still want to use Nodejs. Otherwise,
All of the tech have similar routing mechanism, they very on Session (authx2, store) and ORM (model, validation, sanitization-in/out, events/hooks). Please also be aware of Deployment methods as the quality of this last step dictates the efficiency of the service.