#Database configuration help
3 messages · Page 1 of 1 (latest)
The chatgpt one has it correctly. You store all the sensative data (DB_URI, DB_HOST, PORT, CONNECTION_STRING) or other such related info in a .env file. Once you push to production or commit your projrct to a github repository, the .env file wont be included or accessible to anyone viewing your code, protecting your sensative data
Does that answer your questions? If not, feel free to ask for more info