/relix

A simple SQL-backed recipe manager system, made with ♥ and Elixir

Primary LanguageElixir

Relix

A simple SQL-backed recipe manager system. Developed for educational purposes and to practice/study Elixir, Phoenix, Docker, TDD, GraphQL and hexagonal architectures.

A (pharma automation) recipe is defined as a list of ingredients, in the form of key-value pairs and is identified by a name and a type; a recipe has a state and a version and follows a life cycle.

Hex architecture references:

Prerequisite

docker-compose build

Running

docker-compose up -d

The web api service will be listening at http://localhost:4000/api (REST) and http://localhost:4000/api/graphql (GRAPHQL)

Testing

docker-compose run --rm -e "MIX_ENV=test" web mix test && docker-compose down