Answer the question
In order to leave comments, you need to log in
What server platform to use for SPA?
Hello. I decided to tinker with Vue.js, figured out the basic concepts, but now the question arose, does it make sense for a pure SPA to use Rails with webpacker, and what is the profit from it? Or leave Rails, only for REST, and use another platform for Vue? Thank you.
PS I don't have any experience in SPA development yet, only classic multi-pages on Rails.
Answer the question
In order to leave comments, you need to log in
We used Hanami as an API server in conjunction with a REACT client, and drove data using GraphQL.
It worked out reliably, here are the sources if you suddenly want to repeat:
https://github.com/AlexanderMint/upment-hanami
https://github.com/AlexanderMint/upment-client
PS I can answer questions if they arise
It is possible to decouple rails_api for api and vue on native js. Actually, which server platform you like and use)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question