Main Features
GOPATH
is no longer supported.
Please see this blog post for more information https://blog.gobuffalo.io/the-road-to-1-0-requiring-modules-5672c6b015e5.
Templating
Write your templates with Plush, using a Rails-like syntax. Extend its features using custom helpers.
If you don't like it, you can use html/template
or even bring your own!
Buffalo toolbox
Writing a web application module always begins with the same tasks. Buffalo provides you a simple toolbox, the buffalo
command, to generate many parts of your app and run usual tasks.
Extend the toolbox with plugins, using the language you want!
Testing
Since testing can be a boring task, Buffalo helps you to define test suites. Action, resource, model generators create test templates for the code you just generated.
You can run them all using a simple command from the toolbox.
Hot Code Reload
Code, save, refresh. Use the buffalo dev
command to rebuild your app, from backend to frontend, and just see the changes live!
Frontend pipeline
Use the Webpack-generated configuration to build your frontend assets, so you can optimize both backend and frontend.
Models / ORM
Deep integration with pop provides a simple way to handle database and common related tasks.
Supported databases: MySQL/MariaDB, PostgreSQL, CockroachDB, SQLite.
Tasks / Background Workers
If you're familiar with Rake tasks from Ruby, you'll be right at home using Grift. Seeding a database, running a cleaning job are now at hand!
Running background tasks are easy too, using the Background Workers.
From Our Blog
Associations with Pop: n to n
Stanislas Michalak
Model relations with Pop are difficult to understand. Let’s fix that.
The Road to 1.0: Requiring Modules
Mark Bates
On December 1st, 2019, Buffalo, and all related packages, will no longer support the $GOPATH and will have a minimum Go version of 1.13. If...
Introducing Pkger — Static File Embedding in Go
Mark Bates
Introducing Pkger — Static File Embedding in Go One of the reasons I fell in love with Go all those years ago was the idea that I could dis...
Platinum Sponsors
Use Buffalo at work?
Ask your manager or marketing team if they’d help support our project.
Want to know more about Buffalo?
Get all the support and resources in our documentation.
Go to the documentation