5 ms·
I think you should pick Rails. It now has by default support for Hotwire -> https://hotwired.dev https://hotwired.dev and it also comes by default with support
by gls2ro 3y ago
I think you should pick Rails.
It now has by default support for Hotwire -> https://hotwired.dev https://hotwired.dev and it also comes by default with support for importmaps (so you will not even need to install nodejs) and it works with Tailwind.
Here is one command to generate your project:
```
rails new myproject --css tailwind --database postgresql -T main
```
and then you can just start it with
```
bin/dev
```
I think it offers out of the box a very good experience with very few dependencies to install.
You will have:
- Hotwire -> you can make with just a few html attributes very good UI (like independently updating parts of the page without refreshing the page) + Stimulus controllers if you want to write JS for various small tasks.
- PostgreSQL as DB
- ActiveStorage -> upload files to most known clouds
- You can add Devise gem and have all you need to user auth
I recommend using RubyMine as an editor to have full support for go-to definition until deep down to each gem. VSCode with Shopify LSP is also a good combination.
I am not sure what web app you are trying to create, but before reaching to SPA please think if you really need SPA.
- 0xblinq 3y agoTHIS. The same applies if you pick Laravel, in my opinion.