Node.js OAuth2 Provider service on Express and PostgreSQL.
-
brew install postgres
-
npm install
-
npm install -g foreman mocha nodemon gulp
-
gulp dev:deps
-
nf start --procfile=Procfile.dev
-
Log into postgres and create the
authority_dev
andauthority_test
databases. -
gulp db:migrate
-
gulp db:test:prepare
-
bower install
-
gulp assets:precompile
- page (Integer) - Starts with 1
- limit (Integer) - Minimum of 1, maximum of 1000
{
"sample": "response"
}
- user_id (Integer)
{
"sample": "response"
}
{
"username": "solidsnake",
"password": "raidensucks"
}