pineauth

Version, currently master branch1 version
  • master branchlatestMar 26, 2018

github.com/c910335/pineauth

OAuth 2 Provider built with Amber

6 stars
0 dependents
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  pineauth:
    github: c910335/pineauth
    branch: master

master is a branch, not a release, so this tracks it rather than pinning a version.

Then run:

shards install

shard.yml

Crystal
0.24.2
License
MIT
Author
Tatsiujin Chin
Targets
  • amber from lib/amber/src/amber/cli.cr
  • pineauth from src/pineauth.cr

Dependencies

Runtime Dependencies

  • pg~> 0.14.1github: will/crystal-pg
  • amber~> 0.6.7github: amberframework/amber
  • crinder~> 0.1.3github: c910335/crinder
  • granite_orm~> 0.8.2github: amberframework/granite-orm
  • quartz_mailer~> 0.5.0github: amberframework/quartz-mailer
  • jasper_helpers~> 0.1.6github: amberframework/jasper-helpers

Development Dependencies

  • garnet_spec~> 0.1.1github: amberframework/garnet-specdev

README

pineauth

Amber Framework

OAuth 2 Provider built with Amber

Installation

Create a pg database called pineauth_development and configure the config/database.yml to provide the credentials to access the table.

Then:

$ shards update
$ amber migrate up

Usage

To run the demo:

$ crystal build src/pineauth.cr
$ ./pineauth

Docker Compose

This will start an instance of postgres, migrate the database, and launch the site at http://localhost:3000

$ docker-compose up -d

To view the logs:

$ docker-compose logs -f

Note: The Docker images are compatible with Heroku.

Contributing

  1. Fork it ( https://github.com/c910335/pineauth/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

  • c910335 Tatsujin Chin - creator, maintainer