All threads / How to I Architect my application?

Ask A Question


You’re not receiving notifications from this thread.

How to I Architect my application?

Aniket Rao asked in General

So I have been tasked with a project where I have 3 entities, say a retail shop, wholesale shop and a manufacturer. Each have their own schemas (each shop has its own subdomain). All three entities have requested for their own database but they want frequent transactions happening between the shop, wholesaler and manufacturer.

I have been thinking about this for a while but could not think of a good viable approach. What would be the right approach to execute?

Can you elaborate on the kind of transactions you want between them? What about building 3 separate apps, separate databases, and then defining your own internal API to communicate between them for those transactions?

Join the discussion

Want to stay up-to-date with Ruby on Rails?

Join 53,130+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.

    logo Created with Sketch.

    Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

    © 2021 GoRails, LLC. All rights reserved.