0.4.1 • Published 8 years ago

generator-simple-koa-api v0.4.1

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

Simple Koa API Yeoman Generator

npm install -g yo
npm install -g generator-simple-koa-api
psql -c 'create database my_api_db' # create a database for your api
mkdir myapi; cd myapi
yo simple-koa-api
# edit .env, .env-test, package.json if needed
npm install
node 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!
0.4.1

8 years ago

0.4.0

8 years ago

0.3.2

8 years ago

0.3.1

8 years ago

0.3.0

8 years ago

0.2.0

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago