Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aviabird/gringotts_payment
Demo Phoenix app showing gringotts payment library integrations.
https://github.com/aviabird/gringotts_payment
elixir elixir-lang gringotts-payment payment-gateway payments phoenix phoenix-framework
Last synced: about 2 months ago
JSON representation
Demo Phoenix app showing gringotts payment library integrations.
- Host: GitHub
- URL: https://github.com/aviabird/gringotts_payment
- Owner: aviabird
- Created: 2017-12-29T07:05:43.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-01-26T07:38:05.000Z (almost 2 years ago)
- Last Synced: 2024-04-17T00:31:10.895Z (9 months ago)
- Topics: elixir, elixir-lang, gringotts-payment, payment-gateway, payments, phoenix, phoenix-framework
- Language: Elixir
- Homepage: https://gringottspay.herokuapp.com/
- Size: 495 KB
- Stars: 26
- Watchers: 9
- Forks: 4
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GringottsPayment
An Example application showing, the integration of different
*Payment Gateways* in a Phoenix application using [`gringotts`](https://github.com/aviabird/gringotts) library.To test this application locally:
* Fork this repository.
* Install dependencies with `mix deps.get`
* (Optionally) Start postgres via `make start-pgsql` via Docker. You'll need
docker installed locally.
* Confirm via `docker ps` if required.
* Use `make pgsql` to start postgres in foreground to troubleshoot, if
needed.
* `export
DATABASE_URL=postgres://postgres:@localhost:5432/gringotts_payment_dev`
* `make clean-pgsql` to remove image and start over.
* You may need to start `make start-pgsql` twice, after `clean-pgsql`
* Create and migrate your database with `mix ecto.create`
* Install Node.js dependencies with `cd assets && npm install`
* Start Phoenix endpoint with `make dev`Now you can visit [`localhost:4000`](http://localhost:4000) from your browser.
Checkout the running application @ [`gringotts_pay`](https://gringottspay.herokuapp.com/)
## Learn more
* Official website: http://www.phoenixframework.org/
* Guides: http://phoenixframework.org/docs/overview
* Docs: https://hexdocs.pm/phoenix
* Mailing list: http://groups.google.com/group/phoenix-talk
* Source: https://github.com/phoenixframework/phoenix