crystal_api_payments_sample

crystal_api_payments_sample

TODO

  • DB access
  • Real life sign in using DB
  • Incoming payment class
  • Outgoing payment class
  • Transfer payment class
  • User balance method
  • Internal incoming/outgoing payment method
  • External (any user can) transfer endpoint
  • Transfer endpoint validations (which checks balance, users, ...)
  • Incoming, outgoing, transfers list
  • Advanced reports endpoint
  • Sample JS/react application
  • created_at not rendering in json
  • Think about adding model class methods, maybe in additional macro

Notes

  1. Create DB

CREATE DATABASE crystal_api_payments WITH OWNER owner;

Purpose

Create proof that it is possible to create very fast API in Crystal language.

Contributing

  1. Fork it ( https://github.com/akwiatkowski/crystal_api_payments_sample/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

Repository

crystal_api_payments_sample

Owner
Statistic
  • 0
  • 1
  • 0
  • 0
  • 1
  • about 8 years ago
  • August 24, 2016
License

MIT License

Links
Synced at

Fri, 22 Nov 2024 00:08:38 GMT

Languages