No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src/server added sinon Jan 22, 2018
test updated a test Jul 26, 2018
.gitignore init Aug 16, 2017
.jshintrc init Aug 16, 2017
.travis.yml Added passport auth Jan 2, 2018
LICENSE Added passport auth Jan 2, 2018
README.md updated readme Jan 2, 2018
knexfile.js added routes and tests Aug 23, 2017
package.json added sinon Jan 22, 2018

README.md

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