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
4 Likes
Thanks for sharing this @fabiomux!
Meanwhile you can ask me any question related to Kemal
3 Likes
@sdogruyol thanks to you for this brillant introduction, something i would like understand more is about these topics:
- Deployment (how i replace Unicorn + Nginx);
- ORM
- E-mail sending
- CORS Authentication
- Multi-DB support
1 Like
@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.
2 Likes
Awesome, thank you!
1 Like