To those who want any clue about why Crystal and what Kemal is, there is a presentation from Serdar Dogruyol at Polyconf which looks interesting and fun to watch: Crystal and Kemal at Polyconf by Serdar Dogruyol
Thanks for sharing this @fabiomux!
Meanwhile you can ask me any question related to Kemal
@sdogruyol thanks to you for this brillant introduction, something i would like understand more is about these topics:
- Deployment (how i replace Unicorn + Nginx);
- E-mail sending
- CORS Authentication
- Multi-DB support
@fabiomux nice questions, here are the answers
Deployment is just dropping your binary to server. You can use Nginx to reverse proxy just your Kemal app ( Nginx -> Kemal)
Currently there’s active_record.cr but it’s not a replacement for ActiveRecord from Rails.
There’s no built-in SMTP in Crystal yet, instead you can use Mandrill, SendGrid via API
You can configure your headers for CORS.
I haven’t tried using a Multi-DB setup but in theory it should be possible.
Awesome, thank you!