Conclusion:
Rails API will generally result in fewer lines of code due to its conventions, scaffolding, and built-in tools like ActiveRecord, which significantly reduce the need for boilerplate.
Express requires more lines of code for similar functionality since you have to handle more things manually (like routing, request parsing, and database queries).
express I guessna rails 🚄
TODO