Skip to content

bimohxh/koa-web

Repository files navigation

koa-web

koa-web is created to best use koa like Rails. We didn't create an another framework,we just construct you Koa app in a better way.

start

Install dependencies,run:

npm install

Then start app:

npm start

viist ip:[port]

config

site config

The default site config file is in ./config/local_env.rule.js. If you want to change the config ,just add a file ./config/local_env.json and edit

router config

All of the router config is at ./config/route.js

vendor config

What thirty part you can use in configed at ./config/vendor.js. The asset file is at ./vendor folder.

About

best use koajs to write app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published