Skip to content

The TokenPlay Phoenix Services API responsible for all communications

License

Notifications You must be signed in to change notification settings

blocplay/phoenix-services

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Phoenix Services Backend

Phoenix

Phoenix Framework leverages the Erlang VM ability to handle millions of connections alongside Elixir's beautiful syntax and productive tooling for building fault-tolerant systems.

The Phoneix Services Backend manages all communications with our Electron Frontend. Our Phoenix Services Backend currently communicates & relays with our eWallet Backend as well as our Blockchain Services Backend.

All source code is released as is under the Apache v2 licensing.

Setup

To setup the Phoneix Services Backend you will need to configure your services.

Configure your database

config :app_api, AppApi.Repo,
  adapter: Ecto.Adapters.Postgres,
  username: "postgres",
  password: "",
  database: "app_api_dev",
  hostname: "app_api_db",
  pool_size: 10

Configure your eWallet API Access:

config :app_api, ewallet: [
    base_url: "http://ewallet:4000/",
    api_key: "",
    access_key: "",
    secret_key: ""
  ]

Configure your Blockchain Integration Services API Access:

config :app_api, blockchain: [
    base_url: ""
  ]

Launching

To start your Phoenix server:

  • Install dependencies with mix deps.get
  • Create and migrate your database with mix ecto.create && mix ecto.migrate
  • Start Phoenix endpoint with mix phx.server

Now you can visit localhost:4000 from your browser.

Ready to run in production? Please check our deployment guides.

Learn more

About

The TokenPlay Phoenix Services API responsible for all communications

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages