Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mjhea0/passport-local-knex
adding passport to a node app
https://github.com/mjhea0/passport-local-knex
express node passport passport-local
Last synced: about 2 months ago
JSON representation
adding passport to a node app
- Host: GitHub
- URL: https://github.com/mjhea0/passport-local-knex
- Owner: mjhea0
- License: mit
- Created: 2016-09-25T19:37:34.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-01-21T04:01:33.000Z (almost 7 years ago)
- Last Synced: 2024-10-12T07:08:09.701Z (2 months ago)
- Topics: express, node, passport, passport-local
- Language: JavaScript
- Homepage:
- Size: 23.4 KB
- Stars: 51
- Watchers: 2
- Forks: 26
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Node, Passport, and Postgres
[![Build Status](https://travis-ci.org/mjhea0/passport-local-knex.svg?branch=node-update)](https://travis-ci.org/mjhea0/passport-local-knex)
## Want to learn how to build this project?
Check out the [blog post](http://mherman.org/blog/2016/09/25/node-passport-and-postgres).
## Want to use this project?
1. Fork/Clone
1. Install dependencies - `npm install`
1. Add a *.env* file
1. Create two local Postgres databases - `passport_local_knex` and `passport_local_knex_test`
1. Migrate - `knex migrate:latest --env development`
1. Seed - `knex seed:run --env development`
1. Run the development server - `gulp`
1. Test - `npm test`