Skip to content

VamOSGS/koa-starter

Repository files navigation

koa-starter

What includes:

  • Multipy Koa-Routers using.
  • Flowtype.
  • Eslint.
  • Backpack.

Usage

Clone:

git clone https://github.com/vamosgs/koa-starter.git

Environment:

Change .envEXAMPLE to .env for starting develompent.

Routing:

Create your router in src/routes file then import it in src/routes/index.js

example:

const newRouter = require("./newRouter");

const routes = combineRouters([root, newRouter]);

Commands:

  • Build:

    yarn build
  • Dev server:

    yarn dev
  • Start on your server:

    yarn start

Its still in progress...

About

🚦▶️Starter pack for koa development.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published