amplication / docs

Amplication docs
https://docs.amplication.com
Apache License 2.0
17 stars 62 forks source link

How To Migrate From Ruby On Rails To Node.js - Blogpost #515

Open dericksozo opened 3 months ago

dericksozo commented 3 months ago

The first blog post on the list from #514.

dericksozo commented 3 months ago

Hi @PazYanoverr, before I send you an outline, can I ask a few questions to get clear on the scope of this article?

  1. What is the target audience? Are we addressing experienced developers or those new to Node.js?
  2. What size of application are we considering? A small project or a large-scale enterprise app?
  3. How do we handle database migration? Are we keeping the same database or switching to a different one?
  4. What about the front-end? Is it tightly coupled with Rails (e.g., using ERB templates) or is it already separate?
  5. What Node.js framework should we recommend as a replacement for Rails (Express, Nest.js, etc.)?
  6. What about API design and implementation differences?
  7. Should we include a section on cost implications of the migration?
PazYanoverr commented 3 months ago

Hi @dericksozo,

  1. We are looking for experienced developers or managers who have applications in Ruby and want to migrate to Node.js (- we can talk about the reasons, why they should migrate, why to node.js etc.). They are not experienced with Node.js and we want to "catch" them when they are searching for best practices or such regarding the migration.
  2. Let's refer to both (in case it makes a difference)
  3. Let's refer to both options but focus on keeping the same database with its data.
  4. I'm not sure about it- please check. If it's tightly coupled, let's refer to it (- we can mention our APIs- auto generated + custom, that can be used by the front-end while setting authorization rule or such).
  5. I think we should discuss it, and mostly recommend our framework and tools (- which were chosen very carefully).
  6. Not sure what are the differences, but let's find the differences first, and discuss then what we can do with it / recommend.
  7. Good question :)I think we need to focus at the beginning on the technical aspects. Later on- we can decide that we want to add also a section regarding the cost. BTW- this blogpost can be a reference for a good and successful blogpost- https://amplication.com/blog/top-6-orms-for-modern-nodejs-app-development
dericksozo commented 3 months ago

Thanks for the answers, @PazYanoverr. I'll incorporate this and provide you with an outline soon.

dericksozo commented 2 months ago

Hey @PazYanoverr, here's a good outline for this blog post that we can start with. What are your thoughts?

Migrating from Ruby on Rails to Node.js: A Guide for Developers

Introduction

Why Migrate to Node.js?

Preparing for Migration

Database Migration Strategies

Rewriting the Backend

API Design and Implementation

Front-end Considerations

Deployment and Infrastructure

Using Amplication for Migration

Conclusion

PazYanoverr commented 2 months ago

@dericksozo - It looks good to me. Maybe we need to divide this blogpost into a few, while the first would talk about the core migration (e.g. without the frontend and the deployment).

dericksozo commented 2 months ago

Sounds good, @PazYanoverr! When we're ready to approach this issue again and move it higher in the priority list I'll recreate the outline so it's better suited to that.