- Multipy Koa-Routers using.
- Flowtype.
- Eslint.
- Backpack.
git clone https://github.com/vamosgs/koa-starter.git
Change .envEXAMPLE to .env for starting develompent.
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]);
-
Build:
yarn build
-
Dev server:
yarn dev
-
Start on your server:
yarn start