move database configs to .env

This commit is contained in:
João Geonizeli
2022-07-10 15:39:51 -03:00
parent af0bc0a082
commit c3793ee661
4 changed files with 26 additions and 16 deletions

View File

@@ -2,4 +2,7 @@ ENV=development
PORT=5000
SECRET=aE8efkEP8+V/ibEQl8IKbw==
DB_NAME=todoListDev
DB_HOST=localhost
DB_USER=postgres
DB_PASSWORD=postgres
DB_NAME=todoListDev