Indeed, it would have to be stored somewhere. If you call that a database or a file is irrelevant, unless you use the indexing capabilities offered by a database system.
It's best to store it on a server. If you put it in the app, it would have to be updated every time the app is used.
A few remarks:
- Distance can be different as the crow flies, or if you go by car or bicycle or walking or public transport. Do let the user choose how he travels?
- A link with Google Maps would be nice.
- It seems useful to take opening times into account. It makes no sense to point people to a site that's currently closed.
- It seems useful to tell the user if he can walk in or must make an appointment first (and how to do that, if necessary).
- An app to find testing centers might be more useful than an app for vaccine centers. After all, testing will be done more often than vaccinating.
- Remember tht you'll need an editorial staff to maintain your database. It's not very static. Here in the Netherlands we have 'vaccination buses' that are on different locations every day to reach as many people as possible. Or maybe even just a morning or an afternoon.
Best of luck with your app.