Lucky is a web framework written in Crystal designed to help you write applications faster. It’s familiar and approachable, but packed with new ideas that will help you write beautiful apps in less time.
Lucky v0.10 is out and it’s a big one! Along with smaller improvements and bug fixes, we have some big new additions:
- LuckyFlow, a browser testing library like Capybara, but with a few twists that make for more readable and reliable tests.
- Carbon, an email library that catches common bugs at compile time.
- Authentic, a simple library for authentication.
Just about every app I write needs some form of authentication. As of this release, Lucky comes with sign in, sign up, and password reset out of the box. It’s easy to customize and saves a lot of time.
Here’s what the code for signing up looks like:
Check out the authentication guide to learn more.
Object oriented “Flows” make for readable tests and Flow IDs mean you can freely change the text and classes in your UI without breaking your tests.
Carbon is the type-safe email
library in Crystal. It’ll let you know at compile time if you forget a
subject or accidentally try to send to an email address that might be
It’s also easy to test and has a built in dev adapter so you don’t need to
set up an SMTP server or SendGrid account until you’re ready to deploy.
See you around!