/elixir-boilerplate

⚗ The stable base upon which we build our Elixir projects at Mirego.

Primary LanguageElixirBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause


This repository is the stable base upon which we build our Elixir projects at Mirego.
We want to share it with the world so you can build awesome Elixir applications too.

Content

This boilerplate comes with batteries included, you’ll find:

  • Phoenix, the battle-tested production-ready web framework
  • Database integration using Ecto
  • Translations with Gettext
  • ExUnit tests and code coverage using ExCoveralls
  • CORS management with Corsica
  • Opinionated linting with Credo
  • Static code analysis with Dialyzer/Dialyxir
  • OTP release using Distillery and Docker
  • Useful utilities for web features: basic auth, canonical host, etc…
  • Error reporting with Sentry
  • A clean and useful README.md template (in both english and french)

Usage

  1. Clone this project (git clone https://github.com/mirego/elixir-boilerplate.git)
  2. Delete the internal Git directory (rm -rf .git)
  3. Run the boilerplate setup script (./boilerplate-setup.sh YourProjectName)
  4. Create a new Git repository (git init)
  5. Create the initial Git commit (git commit -a -m "Initial commit")

License

Elixir Boilerplate is © 2017-2019 Mirego and may be freely distributed under the New BSD license. See the LICENSE.md file.

The drop logo is based on this lovely icon by Creative Stall, from The Noun Project. Used under a Creative Commons BY 3.0 license.

About Mirego

Mirego is a team of passionate people who believe that work is a place where you can innovate and have fun. We’re a team of talented people who imagine and build beautiful Web and mobile applications. We come together to share ideas and change the world.

We also love open-source software and we try to give back to the community as much as we can.