Fetching projects dynamically from the REST API.