• Stars
    star
    118
  • Rank 299,923 (Top 6 %)
  • Language
    Elixir
  • License
    MIT License
  • Created over 7 years ago
  • Updated over 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Ecommerce site that you will build while learning Mastering Phoenix Framework

Mango

This project contains the source code of the Ecommerce site that is built in the book Mastering Phoenix Framework, as part of the Phoenix Inside Out series. View the demo at https://mango.shankardevy.com/

Additional files

You need some static image files and CSV files to get the same output as described in the book. These files can be downloaded here:

https://shankardevy.com/phoenix-book/book_files.zip

Branches and Commits

Code for each chapter are in their respective branches named after the chapter number.

Master branch contains code from all branches merged.

Setup

Steps to follow to run the code in your local machine:

git clone https://github.com/shankardevy/mango.git
cd mango

# optionally checkout to the chapter{n} using `git checkout chapter{n}``

mix setup
mix phx.server

Now visit http://localhost:4000 to see the site.

Run Test

Test code requires a running instance of Phantomjs for the Acceptance tests. Run the following command on one of the terminal windows

phantomjs --wd

and in another terminal window, run the test

mix test