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, although I will soon write a reference example.
- Install dependencies with
- Create and migrate your database with
mix ecto.create && mix ecto.migrate
- Install Node.js dependencies with
- Start Phoenix endpoint with
Now you can visit
localhost:4000 from your browser.
Ready to run in production? Please check our deployment guides.