Currently we have list endpoint for fetching a project's phases/products which fetches the data from ES cluster. There are incidents where we are not able to get the phases/products in time for a project just after creating a project. So get rid of that situation, we need to have an endpoint which returns data from database without waiting for ES indexing.
Purpose of this task is to replicate the behaviour of current list endpoints for projectPhases and phaseProducts and use database instead of ES index to fetch the data from.