.env files can be an easy way to setup Environment variables locally. You can start using a .env files in Vapor 3 by following this small guide.
First setup the vapor-ext package in your Package.swift file:
.package(url: "https://github.com/vapor-community/vapor-ext.git", from: "0.1.0"),Next create a .env file in the root of your project: