All threads / Use different repositories for frontend and backend?

Ask A Question


You’re not receiving notifications from this thread.

Use different repositories for frontend and backend?

Lykos asked in General

I'd like to ask a question.

Lets say we have a web app that uses Rails api on the backend and Ember on the front end. The folder structure I guess would look like this:

- backend (rails api)
- frontend (ember)

In this case how do we create a repository and push the app on github/bitbucket?
a. all in one repo
b. use different repo for the backend/rails and different for the frontend? if thats the case how do we deploy on production/staging both repositories?

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.