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
Create an account Log in

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

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

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

    Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more. Icons by Icons8

    © 2023 GoRails, LLC. All rights reserved.