mateusluizfb / crawley-ex

An elixir app that fetches repos across the Github catalog
4 stars 2 forks source link

Use Firebase as Cloud File Storage #12

Open rodriggochaves opened 4 years ago

rodriggochaves commented 4 years ago

Since amazon isn 't simple to create a development enviroment (your AWS account should be newer that one year), I believe that we should use Firebase as alternative. New developers can contribute easier.

mateusluizfb commented 4 years ago

I think we can begin to develop some API to the Storage module. We can achive this by using Elixir's Behaviour, then we can do something like this:

defmodule Storage do
  @callback upload_repo(String.t, String.t) ::  {:ok, term} | {:error, term}
end
mateusluizfb commented 4 years ago

What you think?

rodriggochaves commented 4 years ago

Good ideia. I do this!