This project was made using the follow technologies:
You need to setup some variables to connect the project to your PostgreSQL database. Go to config/dev.exs
and put your username
, password
, database
and hostname
. Do the same configuration on config/test.exs
:
config :rocketpay, Rocketpay.Repo,
username: "postgres",
password: "postgres",
database: "rocketpay_dev",
hostname: "localhost",
show_sensitive_data_on_connection_error: true,
pool_size: 10
Follow these steps to get everything ready before running the API:
mix.getdeps
mix ecto.create
mix ecto.migrate
To start your Phoenix server:
mix phx.server
Now you can visit localhost:4000
from your browser.
- Official website: https://www.phoenixframework.org/
- Guides: https://hexdocs.pm/phoenix/overview.html
- Docs: https://hexdocs.pm/phoenix
- Forum: https://elixirforum.com/c/phoenix-forum
- Source: https://github.com/phoenixframework/phoenix
This repository is under development