Ask A Question

Notifications

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:

my-app
- 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?

Reply
Join the discussion
Create an account Log in

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

Join 81,842+ 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.

    © 2024 GoRails, LLC. All rights reserved.