File attachments for redux-form and elixir/phoenix as backend API (serialization issue)

This page summarizes the projects mentioned and recommended in the original post on /r/codehunter

Our great sponsors
  • SonarLint - Clean code begins in your IDE with SonarLint
  • InfluxDB - Collect and Analyze Billions of Data Points in Real Time
  • Mergify - Updating dependencies is time-consuming.
  • arc

    :paperclip: Flexible file upload and attachment library for Elixir (by stavro)

    def create(conn, %{"product" => product_params}) do changeset = Product.changeset(%Product{}, product_params) case Repo.insert(changeset) do {:ok, _product} -> conn |> put_flash(:info, "Product created successfully.") |> redirect(to: product_path(conn, :index)) {:error, changeset} -> render(conn, "new.html", changeset: changeset) endend params from log (I am using arc for handling image uploads in elixir code)

  • redux-form

    A Higher Order Component using react-redux to keep form state in a Redux store [Moved to:] (by erikras)

    [debug] Processing by SecretApp.ProductController.create/2 Parameters: %{"_csrf_token" => "Zl81JgdhIQ8GG2c+ei0WCQ9hTjI+AAAA0fwto+HMdQ7S7OCsLQ9Trg==", "_utf8" => "✓", "product" => %{"description" => "description_name", "image" => %Plug.Upload{content_type: "image/png", filename: "wallpaper-466648.png", path: "/tmp/plug-1460/multipart-754282-298907-1"}, "name" => "product_name", "price" => "100"}} Pipelines: [:browser] Api.ProductController handles requests from redux-from. Here is action, view and params, which are processed by this action:

  • SonarLint

    Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.

  • phoenix_commerce

    Experiments with phoenix

    Here is a link to a full app if it could be helpful

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts