A simple income / expense tracking app, built with Elixir / Phoenix and React
- Docker (https://docs.docker.com/docker-for-mac/install/)
- Docker compose (https://docs.docker.com/compose/install/)
- Clone this repository
- Run
docker-compose build
$ docker-compose build
- Run
docker-compose up
$ docker-compose up
- Elixir 1.7+
- Erlang 19, 20, or 21
- Phoenix 1.4.3+
- PostgreSQL 9.6.3
- NPM 5.3+
- Node.js 8.5.0+
- React 16.1.1+
- Install dependencies
$ mix deps.get
- Create and migrate your database
$ mix ecto.create && mix ecto.migrate
- Seed the database
$ mix run priv/repo/seeds.exs
- Install JavaScript dependencies
$ npm install
- Start Phoenix server
$ mix phx.server
-or-
$ iex -S mix phx.server
Visit localhost:4000 in browser
- Run the ESpec test suite
$ MIX_ENV=test mix espec.init
$ MIX_ENV=test mix espec
-or-
- Run the ExUnit test suite
$ MIX_ENV=test mix test