Giter VIP home page Giter VIP logo

alkemist's Introduction

Alkemist

Build highly customizable admin interfaces for your Phoenix Applications with ease.

The docs can be found at https://hexdocs.pm/alkemist.

Installation

The package can be installed by adding alkemist to your list of dependencies in mix.exs:

def deps do
  [
    {:alkemist, "~> 1.0.1-rc"}
  ]
end

To serve the static assets that are included in the package add the following in your endpoint.ex:

plug Plug.Static,
    at: "/alkemist", from: :alkemist, gzip: false,
    only: ~w(css fonts images js)

Add the application configuration in your config.exs:

config :alkemist, Alkemist,
  repo: MyApp.Repo,
  router_helpers: MyAppWeb.Router.Helpers,
  title: "My App"

Adding controllers

Alkemist comes with a generator for new controllers. You can use it as follows:

mix alkemist.gen.controller ControllerName MyApp.ModelName

Or to generate the controller in a certain namespace:

mix alkemist.gen.controller ControllerName MyApp.ModelName MyNamespace

This will generate the file at controllers/my_namespace/controller_name_controller.ex

Of course you can also add custom written controllers as well by starting from scratch or using the phoenix generator.

alkemist's People

Contributors

mileandra avatar preen avatar b3nigma avatar

Stargazers

Alessio Biancalana avatar merik avatar Jonathan Urzua avatar Thomas Kalnik avatar James Stephens avatar Michael Curry avatar Josef Strzibny avatar Sfusato avatar Ben Woodward avatar Ed Bond avatar Michael Rode avatar K. S. Ernest (iFire) Lee avatar Angelo Moreira avatar Simon Bergström avatar Nicholas Wright avatar Mathias Wingert avatar Simon Prévost avatar Eder Sosa avatar laserx avatar zhongwencool avatar Graeme Coupar avatar Axel Clark avatar Jared Wright avatar Zack Siri avatar Ben Sharman avatar Maximilian Stauss avatar Adam Zapaśnik avatar Anders Jensen-Urstad avatar Martin Samami ッ avatar Vasilis Spilka avatar Pablo Cárdenas avatar Jonatan Männchen avatar Bryan Joseph avatar Jared Smith avatar 7a6163 avatar

Watchers

Ian Warshak avatar  avatar Giulliano Bueno avatar James Cloos avatar Anders Jensen-Urstad avatar  avatar Angelo Moreira avatar  avatar  avatar

alkemist's Issues

Admin Dashboard

It would be great to add a dashboard for the admin panel and a little bit of theming. Also a clearer Readme would be great when it comes to routing. Great library.

Upgrade phoenix

Current version is "~> 1.3.3" - so, i'm unable to test this package with a phoenix 1.4 codebase. Also, (though not my specific usecase, but might be beneficial for someone else), it might be good to support umbrella app structure?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.