Uninstalling the application will not delete your files.
They should be whereever you saved them.
That said, for future use, you might want to give this a read:
As said, uninstalling the app should not delete your documents, unless you put them inside a folder that was part of InDesign's application components, which would be odd.
However, the important point is that if you have no backup, you can expect to lose files. A minimum is having a local backup on another physical device; you can then add off-site cloud storage as well.