Sugar

Modular web framework for Elixir

Goals

  • Speed. Sugar shouldn't be slow and neither should your project.
  • Ease. Sugar should be simple because simple is easy to learn and use.
  • Effective. Sugar should aid development. You have better things to which to devote your time.

GETTING STARTED

Watch our video walkthrough

tl;dr

# Create your new project
mix new your_project
cd your_project

# Add '{:sugar, "~> 0.4.9"}'
# to your deps
vi mix.exs

# Get dependencies and compile them
mix do deps.get, deps.compile

# Add your Sugar files
mix sugar.init

# Start your server
iex -S mix
iex(1)> YourProject.Router.run

For an in-depth look at working with Sugar, head over to our Getting Started section, where we walk through the process of creating an application with Sugar from the start.

OUR OTHER PROJECTS

Plugs

A collection of Plug middleware for web applications

Templates

A helper library for adding templating to web applications

Simple

A simple example of the Sugar web framework

OUR STORY

Why build this when Dynamo, Weber, and Phoenix exist with growing communities? While both projects are great in their own right, Sugar aims to be another contender, sparking more development on all three projects (and/or others that may follow) and giving developers another option when deciding what framework fits their needs best. Sugar may even strive to shake things up just as ChicagoBoss has done.

Fork us

Tweet us

Email us

Sugar is released under the MIT License.

Theme based on Bolt by BlackTie.co.