danielberkompas / mithril_blog

An example blog using the proposed Mithril architecture

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Blog

The Elixir backend for Blog.

Scripts

bin/setup
Bash script that sets up the project, its dependencies, seeds, and runs bin/test to verify everything is working. You should run this script on the CI server.
bin/test
Bash script which runs all the tests for the project. For example: credo, dialyzer, compile --warnings-as-errors, run tests.
bin/update
Bash script which git pulls, updates dependencies, runs migrations, etc. It makes it easy for a mobile developer to pull down and update everything.
bin/reset
Bash script which resets everything and reruns bin/setup again.
mix docs
Generates ExDoc documentation for the project.

Architecture

Blog uses the Mithril code organization conventions.

  • apps/blog contains the business logic for the application. See its README and docs for details on its public API.
  • apps/blog_api provides a GraphQL API.
  • apps/blog_web contains a simple Phoenix application, which mounts the GraphQL API from apps/blog_api.

About

An example blog using the proposed Mithril architecture


Languages

Language:Elixir 93.5%Language:Shell 6.5%