Recover database from uninstalled SQL Server
The database files are probably still there - in the directory for data and log files.

Th default one is c:\ProgramFiles\MSSQL\MSSQL\MSSQL10_50\MSSQL\Data.
If not default then you need to locate your files and attach them to SQL Server instance of the same or higher edition.