Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 870 Bytes

README.md

File metadata and controls

21 lines (15 loc) · 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