B
B
Bogdan2018-02-19 21:49:21
Ruby on Rails
Bogdan, 2018-02-19 21:49:21

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

3 answer(s)
D
Dmitry Slepnev, 2018-02-19
@dimaslepnyov

Rails API for rest, vue for the client.

A
Alexander Leonchik, 2018-02-20
@AlexanderMint

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

V
Vasily Shakhunov, 2018-02-24
@inf

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 question

Ask a Question

731 491 924 answers to any question