Simple catalog creator
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Esteban Manchado Velázquez adbba64ead Upgrade to Elixir 1.9.2 and Phoenix 1.4.10 9 months ago
assets Upgrade to Elixir 1.9.2 and Phoenix 1.4.10 9 months ago
config Upgrade to Elixir 1.9.2 and Phoenix 1.4.10 9 months ago
lib Upgrade to Elixir 1.9.2 and Phoenix 1.4.10 9 months ago
priv Upgrade to Elixir 1.9.2 and Phoenix 1.4.10 9 months ago
test Upgrade to Elixir 1.9.2 and Phoenix 1.4.10 9 months ago
.formatter.exs Upgrade to Elixir 1.9.2 and Phoenix 1.4.10 9 months ago
.gitignore Upgrade to Elixir 1.9.2 and Phoenix 1.4.10 9 months ago
.jshintrc Make image export asynchronous 4 years ago
LICENSE Update README.md, add LICENSE 4 years ago
README.md Upgrade to Elixir 1.9.2 and Phoenix 1.4.10 9 months ago
mix.exs Upgrade to Elixir 1.9.2 and Phoenix 1.4.10 9 months ago
mix.lock Upgrade to Elixir 1.9.2 and Phoenix 1.4.10 9 months ago

README.md

Cataloger

This is a simple experiment to learn a bit of Elixir and the Phoenix framework.

The idea is to create a simple application to maintain a “catalog” of items, divided in sections. Each item and section then has a cover image and a title, and items also have description and tags.

This application exports the result of the catalog to a directory containing a JSON file (describing the whole structure) and all the images, including thumbnails in the specified sizes.

Then, a front-end application can be written that reads the JSON file and shows the catalog without the need for a back-end. This second application is supposed to be custom. See eg. https://github.com/emanchado/rpg-catalog.

Running

  • Copy and customise dev.exs: cp config/dev.sample.exs config/dev.exs
  • Install dependencies with mix deps.get
  • Create and migrate your database with mix ecto.create && mix ecto.migrate
  • Install Node.js dependencies with cd assets && npm install
  • Start Phoenix endpoint with mix phx.server

Now you can visit localhost:4000 from your browser.

Icons

Icons made by Madebyoliver from Flaticon, licensed by Creative Commons BY 3.0.