The Replicator is a fantastic concept with several kinds of potential uses.
https://gizmodo.com/3d-printers-are-finally-starting-to-work-more-like-star-1841663582
https://memory-alpha.fandom.com/wiki/Replicator
In a Star_Trek:_Enterprise episode there is something like a Replicator on an automated repair facility or station.
Replicators Always Sucked in Star Trek and People Preferred Real Food Instead
https://www.youtube.com/watch?v=y91vCOJ8GCU
So unless you can get a hold of a food replicator, you have to build it up, old school.
"Making A US Big Mac Using All 54 McDonald's Ingredients | Fast Food Chemistry" https://www.youtube.com/watch?v=RgIfypeptJw , https://www.youtube.com/c/INSIDERfood/videos
https://comicbook.com/startrek/news/star-trek-discovery-replicator-food No matter how good it tastes, it all turns to --it in the end.
https://thedigitallabyrinth.blogspot.com/search?q=Replicator