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 reddit.com/r/codehunter

Our great sponsors
  • SonarQube - Static code analysis for 29 languages.
  • Scout APM - Less time debugging, more time building
  • SaaSHub - Software Alternatives and Reviews
  • 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: https://github.com/redux-form/redux-form]

    [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:

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

  • 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