Skip to content

MatthieuSegret/yummy-phoenix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Yummy

This application can be used as starter kit if you want to get started building an app with Elixir and Phoenix. This is a simple cooking recipe sharing application using ordinary features which can be found in most web applications.

Technologies

  • Elixir 1.5
  • Phoenix 1.3
  • Erlang 20.0
  • Gettext - Gettext is an internationalization (i18n) and localization (l10n) system commonly used for writing multilingual programs. Use to localize app in French language.
  • Coherence - Coherence is a full featured, configurable authentication system for Phoenix.
  • Arc - Flexible file upload and attachment library for Elixir.
  • ExAws - A flexible, easy to use set of clients AWS APIs for Elixir. Use to store attachments in Amazon S3.
  • Kerosene - Pagination for Ecto and Pheonix.
  • Earmark - Markdown parser for Elixir.
  • PostgreSQL for database.

Features

  • CRUD (create / read / update / delete) on recipes
  • Creating comments on recipe page
  • Pagination on recipes listing
  • Searching on recipes
  • Authentication with Coherence and authorizations (visitors, users)
  • Creating user account
  • Update user profile and changing password
  • Uploading recipe photos
  • Application ready for production on Heroku

Prerequisites

Getting Started

  • Checkout the yummy git tree from Github

        $ git clone https://github.com/MatthieuSegret/yummy-phoenix.git
        $ cd yummy-phoenix
        yummy-phoenix$
    
  • Install dependencies :

        yummy-phoenix$ mix deps.get
    
  • Create and migrate your database :

        yummy-phoenix$ mix ecto.create && mix ecto.migrate
    
  • Load sample records:

        yummy-phoenix$ mix run priv/repo/seeds.exs
    
  • Run Yarn to install javascript package in other terminal:

        yummy-phoenix$ cd assets
        yummy-phoenix/assets$ yarn
    
  • Start Phoenix endpoint

        yummy-phoenix$ mix phx.server
    
  • Now you can visit localhost:4000 from your browser.

Screens

Listing recipes

Listing recipes

Editing recipe

Editing recipe

Recipe page

Recipe page

Learn more about Phoenix

License

MIT © Matthieu Segret

About

Cooking recipe sharing app built with Phoenix

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published