I'm studying data science and starting a semester project to build a database system for a bakery. The planned features include order forecasting, inventory-loss tracking, customer notifications, and the usual data-management tasks. I already know Python and have been exploring Ruby, so I'm wondering whether Ruby would be useful in this project—possibly as an API backend—or whether it would be better to keep the whole system in Python. Any suggestions on how to structure the project?
3 Answers
Python is probably the most practical choice for the core system, especially since you’ll be doing forecasting and other data-science work. Libraries such as pandas and scikit-learn will make that side much easier. If you’re interested in Ruby, you could use it for a separate API or administrative interface, but combining two languages may add complexity without much benefit.
First decide what you want to learn and what the project needs. If the main goal is to build a database with forecasting, Python is a natural fit because you already know it and it has strong data-science tools. Ruby can certainly build an API, but there’s no need to introduce it unless you have a specific feature or learning objective in mind.
For a beginner project, keep the scope manageable. Start with a clean database schema and get the basic create, read, update, and delete operations working. Once that foundation is solid, add forecasting, inventory tracking, and notifications one at a time rather than splitting the project across multiple technologies immediately.

I was mainly considering Ruby for the API backend, but I’ll keep in mind that using two languages could create extra work.