Are you sure that the postgres service is running on your computer?
If you type in 'services' in the windows searchbar and open the corresponding program you can check if this is the case.
Also in your project settings you need to configure the use of your local postgres database.
This is all assuming that you've created the database in postgres already (through for example the use of PGAdmin)