Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (15 sloc) 870 Bytes

RESTful API with Koa, Passport, Redis, and Postgres

Build Status

Want to learn how to build this project?

Check out the following blog posts:

  1. Building a RESTful API with Koa and Postgres
  2. User Authentication with Passport and Koa

Want to use this project?

  1. Fork/Clone
  2. Install dependencies - npm install
  3. Fire up Postgres and Redis on the default ports
  4. Create two local Postgres databases - koa_api and koa_api_test
  5. Migrate - knex migrate:latest --env development
  6. Seed - knex seed:run --env development
  7. Sanity check - npm start
  8. Test - npm test