git clone git@github.com:xskytech/koa-api.git
cd koa-apinpm version >= 5.2.0
npx @xskytech/create-koa-api koa-apinpm version < 5.2.0
npm install --global @xskytech/create-koa-api
@xskytech/create-koa-api koa-apiChange directory
cd koa-apiCopy .env.example to .env and change data
cp .env.example .envCheck lint issues
npm run lintFix lint issues
npm run lint:fixValidate application
npm run validateCreate DB
npm run database:createRun migrations
npm run database:migrate:upUndo migrations
npm run database:migrate:downRun seeds
npm run database:seed:upUndo seeds
npm run database:seed:downDrop DB
npm run database:dropRun in development
npm run developRun in production
npm startThis project is licensed under the MIT License. See the LICENSE file for details.