DISCLAIMER - it's a pet project in order to get into rails ecosystem.
BE - rails as an api FE - Svelte SPA
rails webpacker:install:svelte
<%= javascript_pack_tag 'hello_svelte' %>
rails g controller home index
root 'home#index'
add to routes.rb
file
/users
/tokens
/games
/comments
- disable crsf checks (for local development)
add
protect_from_forgery with: :null_session, only: [:create]
toaaplication_controller.rb
- add additional notes