CinePik / catalog

Node.js microservice for providing the tv catalog
MIT License
1 stars 0 forks source link

Simplify database connection env variable #14

Closed lzukanovic closed 11 months ago

lzukanovic commented 11 months ago

To simplify things, keep it clean, keep it standard, and to enable the catalog db seed job to work; I have simplified the database connection env variables.

Before there were separate env variables which were then later on constructed into the full database connection url. This introduced unnecessary complexity especially since the database url was the only thing needed (i.e. no part of the app used the individual env variables).

Now there is only one variable pertaining to the database connectivity and that is the full url called: DATABASE_URL. I have corrected the .env.example file, README instructions, and deployment files.