Phoenix/React application starter kit
@chvanikoff/reph-react-phoenix-app-scaffolding-made-easy-346cddc76838">About RePh
Reph is an acronym for REact + PHoenix stack. This library provides reph.new
installer as an archive. It aims to replace phx.new
for new projects, based on React/Phoenix stack, scaffolding.
Some of the batteries included:
Syntax of the reph.new
command is the same as of phx.new
, except for flags --no-brunch
, --no-html
, --dev
, --ecto
which are not supported.
To install, run:
mix archive.install github reph-stack/reph
To build and install locally:
$ MIX_ENV=prod mix archive.build
$ mix archive.install
Once installed, you can scaffold an application in a following way, for example:
mix reph.new myapp --database=mysql --module=APP