Saltar al contenido
← volver

Our example env file documents 19 variables, the code reads 15 of them, and its longest comment describes a design we deleted

DEV · dev.to Publicado:

.env.example is the first file a new contributor opens and the last file anybody updates. PubTrivia has two of them, one for the Next.js app that serves the marketing site and the dashboard and one for the WebSocket server that runs the live half of a quiz night, and I went through both against every process.env read in the repository. The root file documents 19 variables. Fifteen of them are read by the app's own source. Here is the gap, in both directions. $ comm -23 documented.txt read.txt G…

Leer original →

Más de DEV