I'd definitely look at the market first, then the property itself.
A couple things you may want to dive a little deeper on is what sort of companies are moving in and out and how well do they pay their employees? That will determine what level of housing is going to be in more demand in the future.
Also, are there any major development projects in the works for that city? If so, what is the timeline? That could really help you anticipate where to buy in terms of the path of progress.
Lastly, I'd look at the legislation trends. For example I have a ton of people looking to buy airbnb's in the Hudson Valley. The trend generally is that towns are clamping down on that and will become more restrictive. What's happening in the area you are looking at. Are laws becoming more friendly towards the type of investing you want to do? Or are they becoming more restrictive? And if they are, are there work arounds or back up exit strategies you have in place in case it doesn't pan out in your favor.
Hope this helps a little bit. With all that being said, population growth is real. I have a hard time leaning towards not investing rather than investing. People will always need housing and there are more and more people each year.
Good luck!