RESTful API with Koa, Passport, Redis, and Postgres
Want to learn how to build this project?
Check out the following blog posts:
Want to use this project?
- Fork/Clone
- Install dependencies -
npm install
- Fire up Postgres and Redis on the default ports
- Create two local Postgres databases -
koa_api
andkoa_api_test
- Migrate -
knex migrate:latest --env development
- Seed -
knex seed:run --env development
- Sanity check -
npm start
- Test -
npm test