-2
I’m creating an application similar to Twitter using Laravel and React, where the database has tables: Post, User, Relation, Mention and Repost. On the 'Timeline' screen of the application will be displayed information of all tables of my database.
My question is, I build an endpoint /Timeline for React to get all the information from an endpoint, or on the Timeline screen it must have an endpoint for each one (/post, /user, etc...)?