metaskills / rails-7-fullstack

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rails 7 + Hotwire (Turbo + Stimulus) = Modern web applications

Screen Shot 2022-10-25 at 08 11 44

https://medium.com/@raphox/rails-7-hotwire-turbo-stimulus-modern-web-applications-d9dab177bdcb

Steps used to generate this project:

rails new rails-7-fullstack -j esbuild -c tailwind
cd rails-7-fullstack
echo "rails-7-fullstack" > .ruby-gemset
rvm use @rails-7-fullstack
bin/rails d stimulus hello
# Created .editorconfig
rails g scafolld Kit::Product name:string
rails g scaffold Kit::Component product:references name:string
bin/rails db:migrate
# Changed the root route
# Applied Tailwind styles
bundle add simple_form
bin/rails generate simple_form:install

Branchs:

I created different PRs to show the differences during the improviment from Rails' scaffold to a NextJS application as client:

About


Languages

Language:Ruby 46.0%Language:TypeScript 23.9%Language:CSS 16.6%Language:HTML 11.4%Language:JavaScript 1.8%Language:Shell 0.2%