S
S
Semyon Semyonov2018-08-02 03:34:13
Ruby on Rails
Semyon Semyonov, 2018-08-02 03:34:13

How to support models of different projects but one application?

One project, but divided into two parts. One is pure API, separated into a separate Rails API application (for mobile). The other is also a separate application (for clients).
Of course, migrations and models intersect. Book is in one project, in another.
Question: is it possible to concentrate the models in one place? If not, what is the best way to maintain or build it all? I'm afraid to get confused when something was removed in one model, but not in the other.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
Chronic 86, 2018-08-02
@chronic86

It is not clear what is the problem with using one api in both cases, and giving the rest to the client side?!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question