Simple Koa API Yeoman Generator
npm install -g yonpm install -g generator-simple-koa-apipsql -c 'create database my_api_db' # create a database for your api mkdir myapi; cd myapiyo simple-koa-api# edit .env, .env-test, package.json if needed npm installnode db-migrate.js # migrates the database to the last version npm test # runs test suite using db configured in .env-test npm start # runs the api, conntects to db from .env, ctrl+c to exit npm run db-new your new db migration title # generate new database migration files # start hacking!