Skip to content

A graphql api built using elixir that provides real time exchange rates and allows sending money to different accounts.

Notifications You must be signed in to change notification settings

NtwaliHeritier/payment_server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PaymentServer

This is a graphql api used to handle transactions. It fetches exchange rates of different currencies from an external api(they change every second), and uses OTP genservers to update the exchange each second.

Built using:

  • Elixir
  • Phoenix
  • Absinthe/Graphql

To run it locally:

  • clone this repo: git clone https://github.com/NtwaliHeritier/payment_server
  • Run mix deps.get and mix deps.compile to compile the dependencies.
  • Update your database credentials in config/dev.exs
  • Run mix ecto.setup to create and migrate your database
  • Run mix phx.server to start your server
  • Now you can visit localhost:4000 from your browser and use the graphql playground

About

A graphql api built using elixir that provides real time exchange rates and allows sending money to different accounts.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages