Generate a Phoenix Boilerplate and save hours on your next project
What is it and what is included?
The Phoenix Boilerplate generator is a way for developers to configure and get a jumpstart on a new Phoenix application. I have automated the installation of some common packages so you dont have to spend a lot of time on it.
Only install the features that you actually wants. Dont settle for a bloated boilerplate that you dont need. You will get the app as a downloadable zipfile.
- Generate a new Phoenix 1.5+ app
- Preinstalled with Phoenix LiveView
- Choose between Bootstrap or Tailwind
- Get authentication and user registration
- Add additional open source libraries
Ready to start your next project?
How do I get started?
- 1. Pick a name as you would normally do. That name will be used when the script runs mix phx.server
- 2. Pick the packages you want. They will be installed and some setups will be added to your app.
- 3. Click Generate and the app will take 5-15 seconds before its ready to download.
What Packages are included?
I have an opinionated selection of packages that I find usefull and have had sucess with. The packages should cover the most common use cases when you start a new app. If you have questions, requests or concerns, reach out to me and I will take a look at it.
Tailwind - Styling
Tailwind CSS is a highly customizable utility based framework. It lacks premade components but the design are built up with utility classes that are added to the DOM elements.Go to this package homepage
PhxGenAuth - Authentication
A pre-built authentication system into a Phoenix 1.5+ application that follows both security and elixir best practices. All the code lives in the user's application instead of using a library.Go to this package homepage
Guardian - Authentication
Guardian is a token based authentication library that integrates with Plug. By default it uses JSON Web Tokens for especially authticating API endpoints but can also be used with Phoenix Channels.Go to this package homepage
Pow - Authentication
Pow is an authentication library that gives you out-of-the-box authentication and user management for your Phoenix or Plug based app. Functionally built so it's fully customizable.Go to this package homepage
Kaffy - Administration
Admin panel with simple, flexible, and customizable admin interface without the need to touch the current codebase. Inspired by Django and Rails ActiveAdmin.Go to this package homepage
Absinthe - API
Absinthe is a GraphQL implementation for Elixir/Phoenix apps. Allows you to easily build an api for your app that also comes with the Graphiql UI interface.Go to this package homepage
Bamboo - Mailer
Flexible and easy to use email for Elixir. Bamboo ships with adapters for several popular mail delivery services, including Mandrill, Mailgun, and SendGrid. Bamboo is maintained and funded by thoughtbotGo to this package homepage
Waffle - FIle Upload
Waffle is a flexible file upload library for Elixir with straightforward integrations. It comes with a companion package for use with EctoGo to this package homepage
Triplex - Multi Tenancy
A simple and effective way to build multitenant applications on top of Ecto. It uses Postgres schemas to keep tenant-specific data separated, while allowing you to continue using the Ecto functions you are familiar with.Go to this package homepage
Ecto Tenancy Enforcer - Multi Tenancy
EctoTenancyEnforcer provides a way to ensure that all queries made from your Elixir application, using Ecto, have tenancy set. If a query is made that does not have tenancy set, you can handle that as an error or have it throw an exception.Go to this package homepage