├── rails ├── fly │ ├── log │ │ └── .keep │ ├── storage │ │ └── .keep │ ├── tmp │ │ ├── .keep │ │ ├── pids │ │ │ └── .keep │ │ └── storage │ │ │ └── .keep │ ├── vendor │ │ ├── .keep │ │ └── javascript │ │ │ └── .keep │ ├── lib │ │ ├── assets │ │ │ └── .keep │ │ └── tasks │ │ │ └── .keep │ ├── public │ │ ├── favicon.ico │ │ ├── apple-touch-icon.png │ │ ├── apple-touch-icon-precomposed.png │ │ └── robots.txt │ ├── test │ │ ├── helpers │ │ │ └── .keep │ │ ├── mailers │ │ │ └── .keep │ │ ├── models │ │ │ └── .keep │ │ ├── system │ │ │ └── .keep │ │ ├── controllers │ │ │ └── .keep │ │ ├── integration │ │ │ └── .keep │ │ ├── fixtures │ │ │ └── files │ │ │ │ └── .keep │ │ ├── application_system_test_case.rb │ │ └── channels │ │ │ └── application_cable │ │ │ └── connection_test.rb │ ├── .ruby-version │ ├── app │ │ ├── assets │ │ │ ├── images │ │ │ │ └── .keep │ │ │ └── config │ │ │ │ └── manifest.js │ │ ├── models │ │ │ ├── concerns │ │ │ │ └── .keep │ │ │ └── application_record.rb │ │ ├── controllers │ │ │ ├── concerns │ │ │ │ └── .keep │ │ │ ├── application_controller.rb │ │ │ └── www_controller.rb │ │ ├── views │ │ │ ├── layouts │ │ │ │ ├── mailer.text.erb │ │ │ │ └── mailer.html.erb │ │ │ └── www │ │ │ │ └── index.html.erb │ │ ├── helpers │ │ │ └── application_helper.rb │ │ ├── channels │ │ │ └── application_cable │ │ │ │ ├── channel.rb │ │ │ │ └── connection.rb │ │ ├── mailers │ │ │ └── application_mailer.rb │ │ ├── javascript │ │ │ ├── application.js │ │ │ └── controllers │ │ │ │ ├── hello_controller.js │ │ │ │ └── application.js │ │ └── jobs │ │ │ └── application_job.rb │ ├── bin │ │ ├── rake │ │ ├── importmap │ │ ├── rails │ │ └── docker-entrypoint │ ├── README.md │ ├── config │ │ ├── routes.rb │ │ ├── environment.rb │ │ ├── boot.rb │ │ ├── cable.yml │ │ └── importmap.rb │ ├── config.ru │ ├── Rakefile │ └── .gitattributes ├── heroku │ ├── log │ │ └── .keep │ ├── tmp │ │ ├── .keep │ │ ├── pids │ │ │ └── .keep │ │ └── storage │ │ │ └── .keep │ ├── lib │ │ ├── tasks │ │ │ └── .keep │ │ └── assets │ │ │ └── .keep │ ├── storage │ │ └── .keep │ ├── vendor │ │ ├── .keep │ │ └── javascript │ │ │ └── .keep │ ├── public │ │ ├── favicon.ico │ │ ├── apple-touch-icon.png │ │ ├── apple-touch-icon-precomposed.png │ │ └── robots.txt │ ├── test │ │ ├── helpers │ │ │ └── .keep │ │ ├── mailers │ │ │ └── .keep │ │ ├── models │ │ │ └── .keep │ │ ├── system │ │ │ └── .keep │ │ ├── controllers │ │ │ └── .keep │ │ ├── fixtures │ │ │ └── files │ │ │ │ └── .keep │ │ ├── integration │ │ │ └── .keep │ │ ├── application_system_test_case.rb │ │ └── channels │ │ │ └── application_cable │ │ │ └── connection_test.rb │ ├── .ruby-version │ ├── app │ │ ├── assets │ │ │ ├── images │ │ │ │ └── .keep │ │ │ └── config │ │ │ │ └── manifest.js │ │ ├── models │ │ │ ├── concerns │ │ │ │ └── .keep │ │ │ └── application_record.rb │ │ ├── controllers │ │ │ ├── concerns │ │ │ │ └── .keep │ │ │ ├── application_controller.rb │ │ │ └── www_controller.rb │ │ ├── views │ │ │ ├── layouts │ │ │ │ ├── mailer.text.erb │ │ │ │ └── mailer.html.erb │ │ │ └── www │ │ │ │ └── index.html.erb │ │ ├── helpers │ │ │ └── application_helper.rb │ │ ├── channels │ │ │ └── application_cable │ │ │ │ ├── channel.rb │ │ │ │ └── connection.rb │ │ ├── mailers │ │ │ └── application_mailer.rb │ │ ├── javascript │ │ │ ├── application.js │ │ │ └── controllers │ │ │ │ ├── hello_controller.js │ │ │ │ └── application.js │ │ └── jobs │ │ │ └── application_job.rb │ ├── .env │ ├── bin │ │ ├── rake │ │ ├── importmap │ │ ├── rails │ │ └── docker-entrypoint │ ├── README.md │ ├── config │ │ ├── environment.rb │ │ ├── boot.rb │ │ ├── cable.yml │ │ └── importmap.rb │ ├── config.ru │ ├── Rakefile │ └── .gitattributes └── kamal │ ├── log │ └── .keep │ ├── tmp │ ├── .keep │ ├── pids │ │ └── .keep │ └── storage │ │ └── .keep │ ├── lib │ ├── assets │ │ └── .keep │ └── tasks │ │ └── .keep │ ├── storage │ └── .keep │ ├── vendor │ ├── .keep │ └── javascript │ │ └── .keep │ ├── public │ ├── favicon.ico │ ├── apple-touch-icon.png │ ├── apple-touch-icon-precomposed.png │ └── robots.txt │ ├── test │ ├── helpers │ │ └── .keep │ ├── mailers │ │ └── .keep │ ├── models │ │ └── .keep │ ├── system │ │ └── .keep │ ├── controllers │ │ └── .keep │ ├── fixtures │ │ └── files │ │ │ └── .keep │ ├── integration │ │ └── .keep │ ├── application_system_test_case.rb │ └── channels │ │ └── application_cable │ │ └── connection_test.rb │ ├── .ruby-version │ ├── app │ ├── assets │ │ ├── images │ │ │ └── .keep │ │ └── config │ │ │ └── manifest.js │ ├── models │ │ ├── concerns │ │ │ └── .keep │ │ └── application_record.rb │ ├── controllers │ │ ├── concerns │ │ │ └── .keep │ │ ├── application_controller.rb │ │ └── www_controller.rb │ ├── views │ │ ├── layouts │ │ │ ├── mailer.text.erb │ │ │ └── mailer.html.erb │ │ └── www │ │ │ └── index.html.erb │ ├── helpers │ │ └── application_helper.rb │ ├── channels │ │ └── application_cable │ │ │ ├── channel.rb │ │ │ └── connection.rb │ ├── mailers │ │ └── application_mailer.rb │ ├── javascript │ │ ├── application.js │ │ └── controllers │ │ │ ├── hello_controller.js │ │ │ └── application.js │ └── jobs │ │ └── application_job.rb │ ├── bin │ ├── rake │ ├── importmap │ ├── rails │ └── docker-entrypoint │ ├── README.md │ ├── config │ ├── routes.rb │ ├── environment.rb │ ├── boot.rb │ ├── cable.yml │ └── importmap.rb │ ├── config.ru │ ├── .env │ ├── Rakefile │ ├── .gitattributes │ └── .kamal │ └── hooks │ └── post-deploy.sample ├── usage ├── dotenv-nestjs │ ├── npm │ ├── .prettierrc │ ├── nest-cli.json │ ├── tsconfig.build.json │ ├── README.md │ ├── src │ │ ├── app.service.ts │ │ ├── main.ts │ │ ├── app.controller.ts │ │ └── app.module.ts │ └── test │ │ └── jest-e2e.json ├── dotenv-webpack3 │ ├── .gitignore │ ├── .env │ ├── package.json │ ├── README.md │ └── dist │ │ └── bundle.js.LICENSE.txt ├── dotenv-nodejs-json │ ├── .gitignore │ ├── index.js │ ├── package.json │ └── .env ├── dotenv-# │ ├── .gitignore │ ├── index.js │ ├── README.md │ ├── package.json │ └── .env.project ├── dotenv-cypress-typescript │ ├── .gitignore │ ├── .env │ ├── .env.example │ ├── cypress │ │ ├── videos │ │ │ └── spec.cy.ts.mp4 │ │ ├── tsconfig.json │ │ └── fixtures │ │ │ └── example.json │ ├── package.json │ ├── README.md │ └── cypress.config.js ├── dotenv-nodejs-backslash │ ├── .gitignore │ ├── package.json │ ├── .env │ └── index.js ├── dotenv-nodejs-json-escaped │ ├── .gitignore │ ├── package.json │ ├── .env │ └── index.js ├── dotenv-nodejs-multiline │ ├── .gitignore │ ├── index.js │ ├── package.json │ └── .env ├── dotenv-supertest │ ├── .env.test │ ├── index.js │ ├── package.json │ ├── .env.vault │ ├── app.js │ ├── test.js │ └── .env.keys ├── dotenv-codekit │ ├── build │ │ └── .gitignore │ └── source │ │ └── images │ │ ├── logo.png │ │ └── logo@2x.png ├── dotenv-firebase │ ├── functions │ │ ├── .gitignore │ │ └── .eslintrc.js │ ├── firestore.indexes.json │ ├── .firebaserc │ ├── firestore.rules │ ├── firebase.json │ └── README.md ├── dotenv-nodejs-inline-comments │ ├── .gitignore │ └── package.json ├── dotenv-nodejs-inline-comments-expand │ ├── .gitignore │ └── package.json ├── dotenv-esm-preload │ ├── index.mjs │ ├── package.json │ └── README.md ├── dotenv-expand-preload │ ├── index.js │ ├── package.json │ └── README.md ├── dotenv-fastify │ ├── dotenv-sample │ ├── routes │ │ └── index.js │ └── plugins │ │ └── env.js ├── dotenv-vault-nextjs │ ├── .env.example │ ├── public │ │ └── favicon.ico │ └── .env.vault ├── dotenv-nodejs │ ├── index.js │ └── package.json ├── dotenv-react-typescript │ ├── src │ │ ├── react-app-env.d.ts │ │ ├── setupTests.ts │ │ └── App.test.tsx │ ├── public │ │ ├── robots.txt │ │ ├── favicon.ico │ │ ├── logo192.png │ │ └── logo512.png │ └── README.md ├── dotenv-vault-nextjs-edge │ ├── .eslintrc.json │ ├── vercel.json │ ├── public │ │ └── favicon.ico │ ├── next.config.js │ ├── pages │ │ ├── _app.js │ │ └── api │ │ │ └── location.js │ └── turbo.json ├── dotenv-yarn │ ├── package.json │ ├── index.js │ ├── README.md │ └── yarn.lock ├── dotenv-esm-config │ ├── package.json │ └── index.mjs ├── dotenv-esm-parse │ ├── package.json │ └── index.mjs ├── dotenv-esm │ ├── package.json │ ├── index.mjs │ └── README.md ├── dotenv-multiline │ ├── package.json │ ├── index.rb │ └── index.js ├── dotenv-assignment │ ├── package.json │ ├── index.js │ └── README.md ├── dotenv-config-error │ ├── package.json │ └── index.js ├── dotenv-custom-target │ ├── package.json │ ├── index.js │ └── README.md ├── dotenv-nodejs-debug │ ├── package.json │ └── index.js ├── dotenv-nodejs-override │ ├── package.json │ ├── README.md │ └── index.js ├── dotenv-config-url-path │ ├── package.json │ ├── README.md │ └── index.js ├── dotenv-es6-import-pitfall │ ├── package.json │ ├── valid.mjs │ ├── errorReporter.mjs │ ├── README.md │ └── invalid.mjs ├── dotenv-react │ ├── public │ │ ├── robots.txt │ │ ├── favicon.ico │ │ ├── logo192.png │ │ └── logo512.png │ ├── README.md │ └── src │ │ ├── setupTests.js │ │ └── App.test.js ├── dotenv-vault-custom-target │ ├── package.json │ ├── .env.vault │ ├── .env.keys │ └── README.md ├── dotenv-vault-yarn │ ├── index.js │ └── package.json ├── dotenv-typescript │ ├── index.ts │ ├── dist │ │ ├── index.js.map │ │ └── index.js │ ├── package.json │ └── README.md ├── dotenv-vault-yarn-typescript │ ├── index.ts │ ├── package.json │ └── README.md ├── dotenv-typescript-config │ ├── index.ts │ ├── dist │ │ ├── index.js.map │ │ └── index.js │ ├── package.json │ └── README.md ├── dotenv-command-substitution │ ├── package.json │ └── index.js ├── dotenv-webpack2 │ ├── dist │ │ ├── main.js │ │ └── index.html │ ├── README.md │ └── src │ │ └── index.js ├── dotenv-typescript-custom-target │ ├── package.json │ ├── index.ts │ └── README.md ├── dotenv-vault-typescript-custom-target │ ├── package.json │ ├── .env.vault │ └── .env.keys ├── dotenv-express │ ├── README.md │ └── index.mjs ├── dotenv-typescript-parse │ ├── index.ts │ ├── package.json │ └── README.md └── dotenv-webpack │ ├── README.md │ ├── dist │ ├── index.html │ └── main.js.LICENSE.txt │ ├── src │ └── index.js │ └── webpack.config.js ├── laravel ├── heroku │ ├── public │ │ ├── favicon.ico │ │ └── robots.txt │ ├── resources │ │ ├── css │ │ │ └── app.css │ │ ├── js │ │ │ └── app.js │ │ └── views │ │ │ └── welcome.blade.php │ ├── database │ │ └── .gitignore │ ├── bootstrap │ │ └── cache │ │ │ └── .gitignore │ ├── storage │ │ ├── logs │ │ │ └── .gitignore │ │ ├── app │ │ │ ├── public │ │ │ │ └── .gitignore │ │ │ └── .gitignore │ │ └── framework │ │ │ ├── testing │ │ │ └── .gitignore │ │ │ ├── views │ │ │ └── .gitignore │ │ │ ├── cache │ │ │ ├── data │ │ │ │ └── .gitignore │ │ │ └── .gitignore │ │ │ ├── sessions │ │ │ └── .gitignore │ │ │ └── .gitignore │ ├── Procfile │ ├── README.md │ ├── tests │ │ ├── TestCase.php │ │ └── Unit │ │ │ └── ExampleTest.php │ ├── .gitattributes │ ├── package.json │ ├── vite.config.js │ ├── .editorconfig │ ├── app │ │ └── Http │ │ │ └── Controllers │ │ │ └── Controller.php │ └── .gitignore ├── laravel-forge │ ├── public │ │ ├── favicon.ico │ │ └── robots.txt │ ├── resources │ │ ├── css │ │ │ └── app.css │ │ ├── js │ │ │ └── app.js │ │ └── views │ │ │ └── welcome.blade.php │ ├── database │ │ └── .gitignore │ ├── storage │ │ ├── logs │ │ │ └── .gitignore │ │ ├── app │ │ │ ├── public │ │ │ │ └── .gitignore │ │ │ └── .gitignore │ │ └── framework │ │ │ ├── views │ │ │ └── .gitignore │ │ │ ├── cache │ │ │ ├── data │ │ │ │ └── .gitignore │ │ │ └── .gitignore │ │ │ ├── sessions │ │ │ └── .gitignore │ │ │ ├── testing │ │ │ └── .gitignore │ │ │ └── .gitignore │ ├── bootstrap │ │ └── cache │ │ │ └── .gitignore │ ├── README.md │ ├── tests │ │ ├── TestCase.php │ │ └── Unit │ │ │ └── ExampleTest.php │ ├── .gitattributes │ ├── package.json │ ├── vite.config.js │ ├── .gitignore │ ├── .editorconfig │ └── app │ │ └── Http │ │ └── Controllers │ │ └── Controller.php └── .gitignore ├── nodejs ├── aws-lambda │ ├── context.json │ ├── deploy.env │ ├── .gitignore │ ├── package.json │ ├── event.json │ ├── README.md │ └── index.js ├── heroku │ ├── .env │ ├── Procfile │ ├── package.json │ ├── README.md │ └── .gitignore ├── fly │ ├── .env │ ├── README.md │ ├── package.json │ ├── .dockerignore │ └── .gitignore ├── railway │ ├── .env │ ├── package.json │ ├── README.md │ └── .gitignore ├── render │ ├── .env │ ├── README.md │ ├── package.json │ └── .gitignore ├── vercel │ ├── .env │ ├── .vercelignore │ ├── package.json │ ├── README.md │ ├── .gitignore │ └── vercel.json ├── digital-ocean │ ├── .env │ ├── package.json │ ├── README.md │ └── .gitignore ├── docker │ ├── build.js │ ├── .gitignore │ ├── README.md │ ├── package.json │ └── Dockerfile ├── aws-beanstalk │ ├── build.js │ ├── package.json │ └── README.md ├── buddy │ ├── .gitignore │ ├── README.md │ ├── package.json │ ├── build.js │ └── buddy.yml ├── bitbucket │ ├── .gitignore │ ├── package.json │ ├── README.md │ ├── bitbucket-pipelines.yml │ └── build.js ├── circleci │ ├── .gitignore │ ├── package.json │ ├── README.md │ ├── build.js │ └── .circleci │ │ └── config.yml ├── cloud66 │ ├── .gitignore │ ├── package.json │ ├── README.md │ └── Dockerfile ├── gitlab-ci │ ├── .gitignore │ ├── .gitlab-ci.yml │ ├── package.json │ ├── README.md │ └── build.js ├── northflank │ ├── .gitignore │ ├── package.json │ ├── .dockerignore │ ├── README.md │ └── Dockerfile ├── travis-ci │ ├── .gitignore │ ├── .travis.yml │ ├── package.json │ ├── README.md │ └── build.js ├── github-actions │ ├── .gitignore │ ├── package.json │ ├── README.md │ └── build.js ├── google-cloud-build │ ├── .gitignore │ ├── build.js │ ├── README.md │ └── cloudbuild.yml └── dagger │ ├── .gitignore │ ├── package.json │ └── README.md ├── angular └── vercel │ ├── src │ ├── assets │ │ └── .gitkeep │ ├── app │ │ ├── app.component.css │ │ ├── app.component.html │ │ ├── app.component.ts │ │ └── app.module.ts │ ├── environments │ │ ├── environment.ts │ │ └── environment.development.ts │ ├── styles.css │ ├── favicon.ico │ ├── main.ts │ └── index.html │ ├── .vercelignore │ ├── README.md │ ├── .vscode │ └── extensions.json │ ├── tsconfig.app.json │ ├── tsconfig.spec.json │ └── .editorconfig ├── dotenv-blog ├── 2023-11-07 │ ├── .env │ ├── .gitignore │ ├── composer.json │ └── REAMDE.md ├── 2023-10-24 │ ├── .env │ ├── .env.production │ ├── package.json │ ├── index.js │ ├── README.md │ └── .gitignore └── 2023-10-28 │ ├── index.js │ ├── package.json │ ├── README.md │ └── secret.js ├── flask └── heroku │ ├── runtime.txt │ ├── .env │ ├── Procfile │ ├── README.md │ ├── wsgi.py │ ├── .gitignore │ └── index.py ├── php └── heroku │ ├── Procfile │ ├── .env │ ├── composer.json │ ├── README.md │ ├── .gitignore │ └── index.php ├── pm2 └── heroku │ ├── .env │ ├── ecosystem.config.js │ ├── README.md │ ├── .gitignore │ └── package.json ├── express ├── heroku │ ├── Procfile │ ├── .gitignore │ ├── package.json │ └── README.md ├── fly │ ├── .gitignore │ ├── README.md │ ├── .dockerignore │ └── package.json ├── vercel │ ├── .gitignore │ ├── .vercelignore │ ├── package.json │ ├── README.md │ └── vercel.json └── docker-compose │ ├── .gitignore │ ├── .dockerignore │ ├── package.json │ ├── Dockerfile │ ├── README.md │ └── docker-compose.yml ├── fastapi └── heroku │ ├── .env │ ├── runtime.txt │ ├── Procfile │ ├── main.py │ └── .gitignore ├── nestjs └── heroku │ ├── Procfile │ ├── .env │ ├── .prettierrc │ ├── tsconfig.build.json │ ├── README.md │ ├── src │ ├── app.service.ts │ ├── main.ts │ └── app.controller.ts │ ├── nest-cli.json │ └── test │ └── jest-e2e.json ├── quickstart ├── laravel-hello-world │ ├── public │ │ ├── favicon.ico │ │ └── robots.txt │ ├── resources │ │ ├── css │ │ │ └── app.css │ │ ├── js │ │ │ └── app.js │ │ └── views │ │ │ └── welcome.blade.php │ ├── database │ │ └── .gitignore │ ├── storage │ │ ├── logs │ │ │ └── .gitignore │ │ ├── app │ │ │ ├── public │ │ │ │ └── .gitignore │ │ │ └── .gitignore │ │ └── framework │ │ │ ├── views │ │ │ └── .gitignore │ │ │ ├── cache │ │ │ ├── data │ │ │ │ └── .gitignore │ │ │ └── .gitignore │ │ │ ├── sessions │ │ │ └── .gitignore │ │ │ ├── testing │ │ │ └── .gitignore │ │ │ └── .gitignore │ ├── bootstrap │ │ └── cache │ │ │ └── .gitignore │ ├── tests │ │ ├── TestCase.php │ │ └── Unit │ │ │ └── ExampleTest.php │ ├── .gitattributes │ ├── package.json │ ├── vite.config.js │ ├── .editorconfig │ └── app │ │ └── Http │ │ └── Controllers │ │ └── Controller.php ├── rust-hello-world │ ├── .env │ ├── .gitignore │ ├── src │ │ └── main.rs │ └── Cargo.toml ├── echo-hello-world │ ├── .env │ └── .gitignore ├── flask-hello-world │ ├── .env │ ├── README.md │ ├── .gitignore │ └── index.py ├── express-hello-world │ ├── .env │ ├── README.md │ ├── .gitignore │ ├── index.js │ └── package.json ├── sinatra-hello-world │ ├── .env │ ├── README.md │ ├── index.rb │ ├── .gitignore │ └── Gemfile ├── nodejs-hello-world │ ├── .gitignore │ ├── package.json │ └── README.md └── php-hello-world │ ├── .gitignore │ ├── composer.json │ └── index.php ├── rocket-rs └── heroku │ ├── .env │ ├── rust-toolchain │ ├── Procfile │ ├── README.md │ ├── .gitignore │ └── Cargo.toml ├── sinatra └── heroku │ ├── .env │ ├── config.ru │ ├── Procfile │ ├── index.rb │ ├── Gemfile │ ├── README.md │ └── .gitignore ├── turborepo └── vercel │ ├── .npmrc │ ├── apps │ ├── web │ │ ├── .eslintrc.js │ │ ├── next.config.js │ │ ├── app │ │ │ ├── page.tsx │ │ │ └── layout.tsx │ │ ├── next-env.d.ts │ │ └── tsconfig.json │ └── docs │ │ ├── .eslintrc.js │ │ ├── next.config.js │ │ ├── app │ │ ├── page.tsx │ │ └── layout.tsx │ │ ├── next-env.d.ts │ │ └── tsconfig.json │ ├── packages │ ├── ui │ │ ├── index.tsx │ │ ├── Header.tsx │ │ ├── tsconfig.json │ │ ├── Button.tsx │ │ └── turbo │ │ │ └── generators │ │ │ └── templates │ │ │ └── component.hbs │ ├── tsconfig │ │ ├── package.json │ │ └── react-library.json │ └── eslint-config-custom │ │ └── index.js │ ├── README.md │ └── .eslintrc.js ├── gatsby └── gatsby-edge │ ├── .env │ ├── src │ ├── images │ │ └── icon.png │ └── pages │ │ └── index.js │ ├── README.md │ ├── .gitignore │ └── gatsby-config.js ├── nextjs ├── netlify │ ├── .env │ ├── pages │ │ ├── about.tsx │ │ ├── day │ │ │ └── index.tsx │ │ └── index.tsx │ └── README.md ├── vercel │ ├── .vercelignore │ ├── pages │ │ ├── about.tsx │ │ ├── day │ │ │ └── index.tsx │ │ └── index.tsx │ └── README.md └── github-actions │ ├── pages │ ├── about.tsx │ ├── day │ │ └── index.tsx │ └── index.tsx │ └── README.md ├── astro └── netlify │ ├── src │ └── env.d.ts │ ├── tsconfig.json │ ├── netlify.toml │ ├── .vscode │ ├── extensions.json │ └── launch.json │ ├── README.md │ ├── astro.config.mjs │ └── .gitignore ├── vite └── vercel │ ├── src │ ├── vite-env.d.ts │ ├── main.ts │ └── counter.ts │ ├── .vercelignore │ └── README.md ├── svelte-kit └── vercel │ ├── .npmrc │ ├── .vercelignore │ ├── src │ ├── routes │ │ └── +page.svelte │ ├── lib │ │ └── index.js │ └── app.html │ ├── static │ └── favicon.png │ ├── README.md │ ├── vite.config.js │ └── .gitignore ├── nuxtjs ├── edgio │ ├── .npmrc │ ├── server │ │ └── tsconfig.json │ ├── public │ │ └── favicon.ico │ ├── tsconfig.json │ ├── README.md │ ├── routes.ts │ ├── app.vue │ ├── plugins │ │ ├── edgio-devtools.client.ts │ │ └── edgio-service-worker.client.ts │ ├── nuxt.config.ts │ └── sw │ │ └── service-worker.js └── vercel │ ├── server │ └── tsconfig.json │ ├── public │ └── favicon.ico │ ├── tsconfig.json │ ├── README.md │ ├── app.vue │ └── nuxt.config.ts ├── ruby └── circleci │ ├── .gitignore │ ├── build.rb │ ├── Gemfile │ ├── README.md │ ├── Gemfile.lock │ └── .circleci │ └── config.yml ├── dotenv-examples.png ├── github-actions ├── .gitignore ├── public │ └── favicon.ico ├── remix.env.d.ts └── .eslintrc.js ├── serverless └── aws-lambda │ ├── package.json │ ├── README.md │ ├── .gitignore │ └── serverless.yml ├── remix ├── vercel │ ├── public │ │ └── favicon.ico │ ├── remix.env.d.ts │ ├── README.md │ ├── .gitignore │ └── .eslintrc.js └── github-actions │ ├── remix.env.d.ts │ ├── public │ └── favicon.ico │ ├── .gitignore │ ├── README.md │ └── .eslintrc.js └── .gitignore /rails/fly/log/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails/fly/storage/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails/fly/tmp/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails/fly/vendor/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails/heroku/log/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails/heroku/tmp/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails/kamal/log/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails/kamal/tmp/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /usage/dotenv-nestjs/npm: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails/fly/lib/assets/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails/fly/lib/tasks/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails/fly/public/favicon.ico: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails/fly/test/helpers/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails/fly/test/mailers/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails/fly/test/models/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails/fly/test/system/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails/fly/tmp/pids/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails/fly/tmp/storage/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails/heroku/lib/tasks/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails/heroku/storage/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails/heroku/tmp/pids/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails/heroku/vendor/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails/kamal/lib/assets/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails/kamal/lib/tasks/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails/kamal/storage/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails/kamal/tmp/pids/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails/kamal/vendor/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /laravel/heroku/public/favicon.ico: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /nodejs/aws-lambda/context.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /rails/fly/.ruby-version: -------------------------------------------------------------------------------- 1 | 3.1.3 2 | -------------------------------------------------------------------------------- /rails/fly/app/assets/images/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails/fly/test/controllers/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails/fly/test/integration/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails/fly/vendor/javascript/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails/heroku/lib/assets/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails/heroku/public/favicon.ico: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails/heroku/test/helpers/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails/heroku/test/mailers/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails/heroku/test/models/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails/heroku/test/system/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails/heroku/tmp/storage/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails/kamal/public/favicon.ico: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails/kamal/test/helpers/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails/kamal/test/mailers/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails/kamal/test/models/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails/kamal/test/system/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails/kamal/tmp/storage/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /angular/vercel/src/assets/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /laravel/heroku/resources/css/app.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /nodejs/heroku/.env: -------------------------------------------------------------------------------- 1 | HELLO="World" 2 | -------------------------------------------------------------------------------- /rails/fly/app/models/concerns/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails/fly/public/apple-touch-icon.png: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails/fly/test/fixtures/files/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails/heroku/.ruby-version: -------------------------------------------------------------------------------- 1 | 3.1.3 2 | -------------------------------------------------------------------------------- /rails/heroku/app/assets/images/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails/heroku/app/models/concerns/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails/heroku/test/controllers/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails/heroku/test/fixtures/files/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails/heroku/test/integration/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails/heroku/vendor/javascript/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails/kamal/.ruby-version: -------------------------------------------------------------------------------- 1 | 3.1.3 2 | -------------------------------------------------------------------------------- /rails/kamal/app/assets/images/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails/kamal/app/models/concerns/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails/kamal/test/controllers/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails/kamal/test/fixtures/files/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails/kamal/test/integration/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails/kamal/vendor/javascript/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /angular/vercel/src/app/app.component.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /laravel/laravel-forge/public/favicon.ico: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /laravel/laravel-forge/resources/css/app.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails/fly/app/controllers/concerns/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails/heroku/app/controllers/concerns/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails/heroku/public/apple-touch-icon.png: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails/kamal/app/controllers/concerns/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails/kamal/public/apple-touch-icon.png: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /usage/dotenv-webpack3/.gitignore: -------------------------------------------------------------------------------- 1 | !.env* 2 | -------------------------------------------------------------------------------- /dotenv-blog/2023-11-07/.env: -------------------------------------------------------------------------------- 1 | HELLO="File" 2 | -------------------------------------------------------------------------------- /flask/heroku/runtime.txt: -------------------------------------------------------------------------------- 1 | python-3.9.13 2 | 3 | -------------------------------------------------------------------------------- /laravel/heroku/database/.gitignore: -------------------------------------------------------------------------------- 1 | *.sqlite* 2 | -------------------------------------------------------------------------------- /nodejs/fly/.env: -------------------------------------------------------------------------------- 1 | # .env 2 | HELLO="World" 3 | -------------------------------------------------------------------------------- /nodejs/heroku/Procfile: -------------------------------------------------------------------------------- 1 | web: node index.js 2 | -------------------------------------------------------------------------------- /nodejs/railway/.env: -------------------------------------------------------------------------------- 1 | # .env 2 | HELLO="World" 3 | -------------------------------------------------------------------------------- /nodejs/render/.env: -------------------------------------------------------------------------------- 1 | # .env 2 | HELLO="World" 3 | -------------------------------------------------------------------------------- /nodejs/vercel/.env: -------------------------------------------------------------------------------- 1 | # .env 2 | HELLO="World" 3 | -------------------------------------------------------------------------------- /php/heroku/Procfile: -------------------------------------------------------------------------------- 1 | web: heroku-php-apache2 2 | -------------------------------------------------------------------------------- /pm2/heroku/.env: -------------------------------------------------------------------------------- 1 | # .env 2 | HELLO="World" 3 | -------------------------------------------------------------------------------- /rails/heroku/.env: -------------------------------------------------------------------------------- 1 | # .env 2 | HELLO="World" 3 | -------------------------------------------------------------------------------- /usage/dotenv-nodejs-json/.gitignore: -------------------------------------------------------------------------------- 1 | !.env 2 | -------------------------------------------------------------------------------- /usage/dotenv-webpack3/.env: -------------------------------------------------------------------------------- 1 | HELLO="World" 2 | -------------------------------------------------------------------------------- /dotenv-blog/2023-10-24/.env: -------------------------------------------------------------------------------- 1 | HELLO="development" 2 | -------------------------------------------------------------------------------- /express/heroku/Procfile: -------------------------------------------------------------------------------- 1 | web: node index.js 2 | 3 | -------------------------------------------------------------------------------- /fastapi/heroku/.env: -------------------------------------------------------------------------------- 1 | # .env 2 | HELLO="World" 3 | 4 | -------------------------------------------------------------------------------- /fastapi/heroku/runtime.txt: -------------------------------------------------------------------------------- 1 | python-3.9.13 2 | 3 | -------------------------------------------------------------------------------- /flask/heroku/.env: -------------------------------------------------------------------------------- 1 | # .env 2 | HELLO="World" 3 | 4 | -------------------------------------------------------------------------------- /nestjs/heroku/Procfile: -------------------------------------------------------------------------------- 1 | web: npm run start:prod 2 | -------------------------------------------------------------------------------- /php/heroku/.env: -------------------------------------------------------------------------------- 1 | # .env 2 | HELLO="World" 3 | 4 | -------------------------------------------------------------------------------- /quickstart/laravel-hello-world/public/favicon.ico: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /quickstart/laravel-hello-world/resources/css/app.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails/fly/public/apple-touch-icon-precomposed.png: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails/heroku/public/apple-touch-icon-precomposed.png: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails/kamal/public/apple-touch-icon-precomposed.png: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rocket-rs/heroku/.env: -------------------------------------------------------------------------------- 1 | # .env 2 | HELLO="World" 3 | -------------------------------------------------------------------------------- /sinatra/heroku/.env: -------------------------------------------------------------------------------- 1 | # .env 2 | HELLO="World" 3 | 4 | -------------------------------------------------------------------------------- /turborepo/vercel/.npmrc: -------------------------------------------------------------------------------- 1 | auto-install-peers = true 2 | -------------------------------------------------------------------------------- /usage/dotenv-#/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | .env* 3 | !.env.project -------------------------------------------------------------------------------- /usage/dotenv-cypress-typescript/.gitignore: -------------------------------------------------------------------------------- 1 | !.env* 2 | -------------------------------------------------------------------------------- /usage/dotenv-nodejs-backslash/.gitignore: -------------------------------------------------------------------------------- 1 | !.env 2 | -------------------------------------------------------------------------------- /usage/dotenv-nodejs-json-escaped/.gitignore: -------------------------------------------------------------------------------- 1 | !.env 2 | -------------------------------------------------------------------------------- /usage/dotenv-nodejs-multiline/.gitignore: -------------------------------------------------------------------------------- 1 | !.env 2 | -------------------------------------------------------------------------------- /usage/dotenv-supertest/.env.test: -------------------------------------------------------------------------------- 1 | HELLO="Test" 2 | -------------------------------------------------------------------------------- /laravel/laravel-forge/database/.gitignore: -------------------------------------------------------------------------------- 1 | *.sqlite* 2 | -------------------------------------------------------------------------------- /nodejs/digital-ocean/.env: -------------------------------------------------------------------------------- 1 | # .env 2 | HELLO="World" 3 | -------------------------------------------------------------------------------- /rocket-rs/heroku/rust-toolchain: -------------------------------------------------------------------------------- 1 | nightly-2023-11-15 2 | -------------------------------------------------------------------------------- /usage/dotenv-codekit/build/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore -------------------------------------------------------------------------------- /usage/dotenv-cypress-typescript/.env: -------------------------------------------------------------------------------- 1 | HELLO="World" 2 | -------------------------------------------------------------------------------- /usage/dotenv-firebase/functions/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ -------------------------------------------------------------------------------- /usage/dotenv-nodejs-inline-comments/.gitignore: -------------------------------------------------------------------------------- 1 | !.env 2 | -------------------------------------------------------------------------------- /dotenv-blog/2023-10-24/.env.production: -------------------------------------------------------------------------------- 1 | HELLO="production" 2 | -------------------------------------------------------------------------------- /dotenv-blog/2023-11-07/.gitignore: -------------------------------------------------------------------------------- 1 | vendor/**/* 2 | !.env 3 | -------------------------------------------------------------------------------- /gatsby/gatsby-edge/.env: -------------------------------------------------------------------------------- 1 | # .env 2 | GATSBY_HELLO="World" 3 | -------------------------------------------------------------------------------- /laravel/heroku/bootstrap/cache/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /laravel/heroku/resources/js/app.js: -------------------------------------------------------------------------------- 1 | import './bootstrap'; 2 | -------------------------------------------------------------------------------- /laravel/heroku/storage/logs/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /nestjs/heroku/.env: -------------------------------------------------------------------------------- 1 | # development@v2 2 | # .env 3 | HELLO="World" -------------------------------------------------------------------------------- /nextjs/netlify/.env: -------------------------------------------------------------------------------- 1 | # .env 2 | NEXT_PUBLIC_HELLO="World" 3 | -------------------------------------------------------------------------------- /nodejs/aws-lambda/deploy.env: -------------------------------------------------------------------------------- 1 | SECRET_VARIABLE=mysecretval 2 | -------------------------------------------------------------------------------- /quickstart/rust-hello-world/.env: -------------------------------------------------------------------------------- 1 | # .env 2 | HELLO="World" 3 | -------------------------------------------------------------------------------- /rails/fly/app/views/layouts/mailer.text.erb: -------------------------------------------------------------------------------- 1 | <%= yield %> 2 | -------------------------------------------------------------------------------- /rails/heroku/app/views/layouts/mailer.text.erb: -------------------------------------------------------------------------------- 1 | <%= yield %> 2 | -------------------------------------------------------------------------------- /rails/kamal/app/views/layouts/mailer.text.erb: -------------------------------------------------------------------------------- 1 | <%= yield %> 2 | -------------------------------------------------------------------------------- /usage/dotenv-cypress-typescript/.env.example: -------------------------------------------------------------------------------- 1 | HELLO="World" 2 | -------------------------------------------------------------------------------- /usage/dotenv-nodejs-inline-comments-expand/.gitignore: -------------------------------------------------------------------------------- 1 | !.env 2 | -------------------------------------------------------------------------------- /laravel/heroku/Procfile: -------------------------------------------------------------------------------- 1 | web: heroku-php-apache2 public/ 2 | 3 | -------------------------------------------------------------------------------- /laravel/heroku/public/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: 3 | -------------------------------------------------------------------------------- /laravel/heroku/storage/app/public/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /laravel/laravel-forge/resources/js/app.js: -------------------------------------------------------------------------------- 1 | import './bootstrap'; 2 | -------------------------------------------------------------------------------- /laravel/laravel-forge/storage/logs/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /nodejs/docker/build.js: -------------------------------------------------------------------------------- 1 | console.log(`HELLO ${process.env.HELLO}`) 2 | -------------------------------------------------------------------------------- /quickstart/laravel-hello-world/database/.gitignore: -------------------------------------------------------------------------------- 1 | *.sqlite* 2 | -------------------------------------------------------------------------------- /usage/dotenv-esm-preload/index.mjs: -------------------------------------------------------------------------------- 1 | console.log(process.env) 2 | 3 | -------------------------------------------------------------------------------- /usage/dotenv-expand-preload/index.js: -------------------------------------------------------------------------------- 1 | console.log(process.env) 2 | -------------------------------------------------------------------------------- /angular/vercel/src/app/app.component.html: -------------------------------------------------------------------------------- 1 | Hello {{ NG_APP_HELLO }}. 2 | -------------------------------------------------------------------------------- /astro/netlify/src/env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /laravel/heroku/storage/app/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !public/ 3 | !.gitignore 4 | -------------------------------------------------------------------------------- /laravel/heroku/storage/framework/testing/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /laravel/heroku/storage/framework/views/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /laravel/laravel-forge/bootstrap/cache/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /laravel/laravel-forge/public/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: 3 | -------------------------------------------------------------------------------- /laravel/laravel-forge/storage/app/public/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /rails/heroku/app/views/www/index.html.erb: -------------------------------------------------------------------------------- 1 | Hello <%= ENV["HELLO"] %>. 2 | -------------------------------------------------------------------------------- /rails/kamal/app/views/www/index.html.erb: -------------------------------------------------------------------------------- 1 | Hello <%= ENV["HELLO"] %>. 2 | -------------------------------------------------------------------------------- /usage/dotenv-fastify/dotenv-sample: -------------------------------------------------------------------------------- 1 | HTTP_PORT=3000 2 | DEBUG_LEVEL=31337 -------------------------------------------------------------------------------- /usage/dotenv-vault-nextjs/.env.example: -------------------------------------------------------------------------------- 1 | NEXT_PUBLIC_HELLO="Universe" 2 | -------------------------------------------------------------------------------- /vite/vercel/src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /astro/netlify/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "astro/tsconfigs/strict" 3 | } -------------------------------------------------------------------------------- /laravel/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | .env* 3 | .flaskenv* 4 | !.env.project 5 | !.env.vault -------------------------------------------------------------------------------- /laravel/heroku/storage/framework/cache/data/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /laravel/heroku/storage/framework/sessions/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /laravel/laravel-forge/storage/framework/views/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /quickstart/echo-hello-world/.env: -------------------------------------------------------------------------------- 1 | # development@v2 2 | # .env 3 | HELLO="World" -------------------------------------------------------------------------------- /quickstart/flask-hello-world/.env: -------------------------------------------------------------------------------- 1 | # development@v2 2 | # .env 3 | HELLO="World" -------------------------------------------------------------------------------- /quickstart/laravel-hello-world/resources/js/app.js: -------------------------------------------------------------------------------- 1 | import './bootstrap'; 2 | -------------------------------------------------------------------------------- /quickstart/laravel-hello-world/storage/logs/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /rails/fly/app/views/www/index.html.erb: -------------------------------------------------------------------------------- 1 | Hello <%= ENV["HELLO"] %>. 2 | 3 | -------------------------------------------------------------------------------- /svelte-kit/vercel/.npmrc: -------------------------------------------------------------------------------- 1 | engine-strict=true 2 | resolution-mode=highest 3 | -------------------------------------------------------------------------------- /angular/vercel/src/environments/environment.ts: -------------------------------------------------------------------------------- 1 | export const environment = {}; 2 | -------------------------------------------------------------------------------- /express/fly/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | .env* 3 | .flaskenv* 4 | !.env.project 5 | !.env.vault -------------------------------------------------------------------------------- /laravel/heroku/resources/views/welcome.blade.php: -------------------------------------------------------------------------------- 1 | Hello {{ env('HELLO') }}. 2 | 3 | -------------------------------------------------------------------------------- /laravel/heroku/storage/framework/cache/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !data/ 3 | !.gitignore 4 | -------------------------------------------------------------------------------- /laravel/laravel-forge/storage/app/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !public/ 3 | !.gitignore 4 | -------------------------------------------------------------------------------- /laravel/laravel-forge/storage/framework/cache/data/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /laravel/laravel-forge/storage/framework/sessions/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /laravel/laravel-forge/storage/framework/testing/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /nodejs/aws-beanstalk/build.js: -------------------------------------------------------------------------------- 1 | console.log(`Hello ${process.env.HELLO}`) 2 | 3 | -------------------------------------------------------------------------------- /nodejs/buddy/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | .env* 3 | .flaskenv* 4 | !.env.project 5 | !.env.vault -------------------------------------------------------------------------------- /nodejs/docker/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | .env* 3 | .flaskenv* 4 | !.env.project 5 | !.env.vault -------------------------------------------------------------------------------- /nuxtjs/edgio/.npmrc: -------------------------------------------------------------------------------- 1 | shamefully-hoist=true 2 | strict-peer-dependencies=false 3 | -------------------------------------------------------------------------------- /quickstart/laravel-hello-world/bootstrap/cache/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /quickstart/laravel-hello-world/public/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: 3 | -------------------------------------------------------------------------------- /quickstart/laravel-hello-world/storage/app/public/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /rails/fly/app/helpers/application_helper.rb: -------------------------------------------------------------------------------- 1 | module ApplicationHelper 2 | end 3 | -------------------------------------------------------------------------------- /rails/heroku/app/helpers/application_helper.rb: -------------------------------------------------------------------------------- 1 | module ApplicationHelper 2 | end 3 | -------------------------------------------------------------------------------- /rails/kamal/app/helpers/application_helper.rb: -------------------------------------------------------------------------------- 1 | module ApplicationHelper 2 | end 3 | -------------------------------------------------------------------------------- /ruby/circleci/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | .env* 3 | .flaskenv* 4 | !.env.project 5 | !.env.vault -------------------------------------------------------------------------------- /sinatra/heroku/config.ru: -------------------------------------------------------------------------------- 1 | require "./index" 2 | run Sinatra::Application 3 | 4 | -------------------------------------------------------------------------------- /express/heroku/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | .env* 3 | .flaskenv* 4 | !.env.project 5 | !.env.vault -------------------------------------------------------------------------------- /express/vercel/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | .env* 3 | .flaskenv* 4 | !.env.project 5 | !.env.vault -------------------------------------------------------------------------------- /express/vercel/.vercelignore: -------------------------------------------------------------------------------- 1 | .env* 2 | .flaskenv* 3 | !.env.project 4 | !.env.vault 5 | -------------------------------------------------------------------------------- /flask/heroku/Procfile: -------------------------------------------------------------------------------- 1 | web: gunicorn --workers 4 --bind 0.0.0.0:${PORT} wsgi:app 2 | 3 | -------------------------------------------------------------------------------- /laravel/laravel-forge/resources/views/welcome.blade.php: -------------------------------------------------------------------------------- 1 | Hello {{ env('HELLO') }}. 2 | -------------------------------------------------------------------------------- /nestjs/heroku/.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "singleQuote": true, 3 | "trailingComma": "all" 4 | } -------------------------------------------------------------------------------- /nextjs/vercel/.vercelignore: -------------------------------------------------------------------------------- 1 | .env* 2 | !.env.vault 3 | 4 | .flaskenv* 5 | !.env.project -------------------------------------------------------------------------------- /nodejs/aws-lambda/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | .env* 3 | .flaskenv* 4 | !.env.project 5 | !.env.vault -------------------------------------------------------------------------------- /nodejs/bitbucket/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | .env* 3 | .flaskenv* 4 | !.env.project 5 | !.env.vault -------------------------------------------------------------------------------- /nodejs/circleci/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | .env* 3 | .flaskenv* 4 | !.env.project 5 | !.env.vault -------------------------------------------------------------------------------- /nodejs/cloud66/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | .env* 3 | .flaskenv* 4 | !.env.project 5 | !.env.vault -------------------------------------------------------------------------------- /nodejs/gitlab-ci/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | .env* 3 | .flaskenv* 4 | !.env.project 5 | !.env.vault -------------------------------------------------------------------------------- /nodejs/northflank/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | .env* 3 | .flaskenv* 4 | !.env.project 5 | !.env.vault -------------------------------------------------------------------------------- /nodejs/travis-ci/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | .env* 3 | .flaskenv* 4 | !.env.project 5 | !.env.vault -------------------------------------------------------------------------------- /nodejs/vercel/.vercelignore: -------------------------------------------------------------------------------- 1 | .env* 2 | .flaskenv* 3 | !.env.project 4 | !.env.vault 5 | -------------------------------------------------------------------------------- /quickstart/express-hello-world/.env: -------------------------------------------------------------------------------- 1 | # development@v2 2 | # .env 3 | HELLO="World" 4 | -------------------------------------------------------------------------------- /quickstart/laravel-hello-world/storage/app/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !public/ 3 | !.gitignore 4 | -------------------------------------------------------------------------------- /quickstart/laravel-hello-world/storage/framework/views/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /quickstart/sinatra-hello-world/.env: -------------------------------------------------------------------------------- 1 | # development@v2 2 | # .env 3 | HELLO="World" 4 | -------------------------------------------------------------------------------- /sinatra/heroku/Procfile: -------------------------------------------------------------------------------- 1 | web: APP_ENV=production bundle exec rackup -p "$PORT" 2 | 3 | -------------------------------------------------------------------------------- /usage/dotenv-#/index.js: -------------------------------------------------------------------------------- 1 | require('dotenv').config() 2 | 3 | console.log(process.env) 4 | -------------------------------------------------------------------------------- /angular/vercel/.vercelignore: -------------------------------------------------------------------------------- 1 | .env* 2 | .flaskenv* 3 | !.env.project 4 | !.env.vault 5 | 6 | -------------------------------------------------------------------------------- /angular/vercel/src/environments/environment.development.ts: -------------------------------------------------------------------------------- 1 | export const environment = {}; 2 | -------------------------------------------------------------------------------- /dotenv-blog/2023-10-28/index.js: -------------------------------------------------------------------------------- 1 | // index.js 2 | console.log(`Hello ${process.env.HELLO}`) 3 | -------------------------------------------------------------------------------- /dotenv-examples.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotenv-org/examples/HEAD/dotenv-examples.png -------------------------------------------------------------------------------- /express/docker-compose/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | .env* 3 | .flaskenv* 4 | !.env.project 5 | !.env.vault -------------------------------------------------------------------------------- /laravel/laravel-forge/storage/framework/cache/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !data/ 3 | !.gitignore 4 | -------------------------------------------------------------------------------- /nodejs/github-actions/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | .env* 3 | .flaskenv* 4 | !.env.project 5 | !.env.vault -------------------------------------------------------------------------------- /quickstart/laravel-hello-world/storage/framework/cache/data/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /quickstart/laravel-hello-world/storage/framework/sessions/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /quickstart/laravel-hello-world/storage/framework/testing/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /svelte-kit/vercel/.vercelignore: -------------------------------------------------------------------------------- 1 | .env* 2 | .flaskenv* 3 | !.env.vault 4 | 5 | !.env.project -------------------------------------------------------------------------------- /svelte-kit/vercel/src/routes/+page.svelte: -------------------------------------------------------------------------------- 1 |

Hello {import.meta.env.VITE_HELLO}.

2 | -------------------------------------------------------------------------------- /usage/dotenv-#/README.md: -------------------------------------------------------------------------------- 1 | # examples/dotenv-# 2 | 3 | An example of using dotenv with #. 4 | -------------------------------------------------------------------------------- /usage/dotenv-nodejs/index.js: -------------------------------------------------------------------------------- 1 | require('dotenv').config() 2 | 3 | console.log(process.env) 4 | -------------------------------------------------------------------------------- /vite/vercel/.vercelignore: -------------------------------------------------------------------------------- 1 | .env* 2 | .flaskenv* 3 | !.env.project 4 | !.env.vault 5 | 6 | -------------------------------------------------------------------------------- /astro/netlify/netlify.toml: -------------------------------------------------------------------------------- 1 | [build] 2 | command = "npm run build" 3 | publish = "dist" 4 | 5 | -------------------------------------------------------------------------------- /github-actions/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | 3 | /.cache 4 | /build 5 | /public/build 6 | .env 7 | -------------------------------------------------------------------------------- /nodejs/google-cloud-build/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | .env* 3 | .flaskenv* 4 | !.env.project 5 | !.env.vault -------------------------------------------------------------------------------- /nodejs/google-cloud-build/build.js: -------------------------------------------------------------------------------- 1 | // build.js 2 | console.log(`Hello ${process.env.HELLO}`) 3 | -------------------------------------------------------------------------------- /nodejs/heroku/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "dotenv": "^16.3.1" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /nodejs/vercel/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "dotenv": "^16.3.1" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /nuxtjs/edgio/server/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../.nuxt/tsconfig.server.json" 3 | } 4 | -------------------------------------------------------------------------------- /nuxtjs/vercel/server/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../.nuxt/tsconfig.server.json" 3 | } 4 | -------------------------------------------------------------------------------- /quickstart/laravel-hello-world/storage/framework/cache/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !data/ 3 | !.gitignore 4 | -------------------------------------------------------------------------------- /rocket-rs/heroku/Procfile: -------------------------------------------------------------------------------- 1 | web: ROCKET_PORT=$PORT ROCKET_KEEP_ALIVE=0 ./target/release/yourapp 2 | -------------------------------------------------------------------------------- /usage/dotenv-nestjs/.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "singleQuote": true, 3 | "trailingComma": "all" 4 | } -------------------------------------------------------------------------------- /usage/dotenv-react-typescript/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /usage/dotenv-vault-nextjs-edge/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "next/core-web-vitals" 3 | } 4 | -------------------------------------------------------------------------------- /fastapi/heroku/Procfile: -------------------------------------------------------------------------------- 1 | web: gunicorn --workers 4 -k uvicorn.workers.UvicornWorker main:app 2 | 3 | -------------------------------------------------------------------------------- /nodejs/aws-lambda/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "dotenv": "^16.3.1" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /nodejs/cloud66/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "dotenv": "^16.3.1" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /nodejs/dagger/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .env* 3 | .flaskenv* 4 | !.env.project 5 | !.env.vault 6 | -------------------------------------------------------------------------------- /nodejs/northflank/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "dotenv": "^16.3.1" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /nodejs/railway/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "dotenv": "^16.3.1" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /quickstart/nodejs-hello-world/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | .env* 3 | .flaskenv* 4 | !.env.project 5 | !.env.vault -------------------------------------------------------------------------------- /usage/dotenv-#/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "dotenv": "^14.3.0" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /usage/dotenv-nodejs-json/index.js: -------------------------------------------------------------------------------- 1 | require('dotenv').config() 2 | 3 | console.log(process.env.JSON) 4 | -------------------------------------------------------------------------------- /usage/dotenv-yarn/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "dotenv": "^16.1.1" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /dotenv-blog/2023-10-24/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "dotenv": "^16.3.1" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /express/docker-compose/.dockerignore: -------------------------------------------------------------------------------- 1 | .git 2 | .env* 3 | .flaskenv* 4 | !.env.project 5 | !.env.vault 6 | -------------------------------------------------------------------------------- /nodejs/aws-beanstalk/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "scripts": { 3 | "build": "node build.js" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /nodejs/digital-ocean/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "dotenv": "^16.3.1" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /nodejs/northflank/.dockerignore: -------------------------------------------------------------------------------- 1 | .git 2 | .env* 3 | .flaskenv* 4 | !.env.project 5 | !.env.vault 6 | 7 | -------------------------------------------------------------------------------- /serverless/aws-lambda/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "dotenv": "^16.3.1" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /usage/dotenv-esm-config/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "dotenv": "^14.3.1" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /usage/dotenv-esm-parse/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "dotenv": "^14.3.1" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /usage/dotenv-esm/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "devDependencies": { 3 | "dotenv": "^14.3.1" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /usage/dotenv-firebase/firestore.indexes.json: -------------------------------------------------------------------------------- 1 | { 2 | "indexes": [], 3 | "fieldOverrides": [] 4 | } 5 | -------------------------------------------------------------------------------- /usage/dotenv-multiline/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "dotenv": "^15.0.0" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /usage/dotenv-yarn/index.js: -------------------------------------------------------------------------------- 1 | require('dotenv').config() 2 | 3 | console.log(`Hello ${process.env.HELLO}`) 4 | -------------------------------------------------------------------------------- /angular/vercel/src/styles.css: -------------------------------------------------------------------------------- 1 | /* You can add global styles to this file, and also import other style files */ 2 | -------------------------------------------------------------------------------- /dotenv-blog/2023-10-24/index.js: -------------------------------------------------------------------------------- 1 | require('dotenv').config() 2 | 3 | console.log(`Hello ${process.env.HELLO}`) 4 | -------------------------------------------------------------------------------- /nextjs/netlify/pages/about.tsx: -------------------------------------------------------------------------------- 1 | export default function AboutPage() { 2 | return
About us
3 | } 4 | -------------------------------------------------------------------------------- /nextjs/vercel/pages/about.tsx: -------------------------------------------------------------------------------- 1 | export default function AboutPage() { 2 | return
About us
3 | } 4 | -------------------------------------------------------------------------------- /nextjs/vercel/pages/day/index.tsx: -------------------------------------------------------------------------------- 1 | export default function DayPage() { 2 | return
Hello Day
3 | } 4 | -------------------------------------------------------------------------------- /svelte-kit/vercel/src/lib/index.js: -------------------------------------------------------------------------------- 1 | // place files you want to import through the `$lib` alias in this folder. 2 | -------------------------------------------------------------------------------- /turborepo/vercel/apps/web/.eslintrc.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | root: true, 3 | extends: ["custom"], 4 | }; 5 | -------------------------------------------------------------------------------- /usage/dotenv-assignment/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "dotenv": "^16.1.0-rc1" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /usage/dotenv-config-error/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "dotenv": "14.0.1" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /usage/dotenv-custom-target/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "dotenv": "^16.2.0" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /usage/dotenv-esm-config/index.mjs: -------------------------------------------------------------------------------- 1 | import * as dotenv from "dotenv" 2 | 3 | console.log(dotenv.config()) 4 | 5 | -------------------------------------------------------------------------------- /usage/dotenv-esm-preload/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "devDependencies": { 3 | "dotenv": "^14.3.1" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /usage/dotenv-firebase/.firebaserc: -------------------------------------------------------------------------------- 1 | { 2 | "projects": { 3 | "default": "dotenv-firebase" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /usage/dotenv-nestjs/nest-cli.json: -------------------------------------------------------------------------------- 1 | { 2 | "collection": "@nestjs/schematics", 3 | "sourceRoot": "src" 4 | } 5 | -------------------------------------------------------------------------------- /usage/dotenv-nodejs-debug/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "devDependencies": { 3 | "dotenv": "^13.0.1" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /usage/dotenv-nodejs-json/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "dotenv": "^16.4.1" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /usage/dotenv-nodejs-override/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "dotenv": "14.1.0" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /angular/vercel/src/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotenv-org/examples/HEAD/angular/vercel/src/favicon.ico -------------------------------------------------------------------------------- /dotenv-blog/2023-11-07/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "require": { 3 | "vlucas/phpdotenv": "^5.5" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /nextjs/github-actions/pages/about.tsx: -------------------------------------------------------------------------------- 1 | export default function AboutPage() { 2 | return
About us
3 | } 4 | -------------------------------------------------------------------------------- /nextjs/netlify/pages/day/index.tsx: -------------------------------------------------------------------------------- 1 | export default function DayPage() { 2 | return
Hello Day
3 | } 4 | -------------------------------------------------------------------------------- /nuxtjs/edgio/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotenv-org/examples/HEAD/nuxtjs/edgio/public/favicon.ico -------------------------------------------------------------------------------- /php/heroku/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "require": { 3 | "dotenv-org/phpdotenv-vault": "^0.2.4" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /quickstart/nodejs-hello-world/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "dotenv": "^16.3.1" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /quickstart/php-hello-world/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | .env* 3 | .flaskenv* 4 | !.env.project 5 | !.env.vault 6 | 7 | vendor/ 8 | -------------------------------------------------------------------------------- /rails/fly/app/controllers/application_controller.rb: -------------------------------------------------------------------------------- 1 | class ApplicationController < ActionController::Base 2 | end 3 | -------------------------------------------------------------------------------- /rails/kamal/app/controllers/application_controller.rb: -------------------------------------------------------------------------------- 1 | class ApplicationController < ActionController::Base 2 | end 3 | -------------------------------------------------------------------------------- /remix/vercel/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotenv-org/examples/HEAD/remix/vercel/public/favicon.ico -------------------------------------------------------------------------------- /remix/vercel/remix.env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | /// 3 | -------------------------------------------------------------------------------- /turborepo/vercel/apps/docs/.eslintrc.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | root: true, 3 | extends: ["custom"], 4 | }; 5 | -------------------------------------------------------------------------------- /usage/dotenv-#/.env.project: -------------------------------------------------------------------------------- 1 | DOTENV_PROJECT=prj_192a5606e5e01d34c33a1131fb7718bbf70206b2d57d10ae0a464fa0238e2b8c 2 | -------------------------------------------------------------------------------- /usage/dotenv-config-url-path/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "dotenv": "^16.1.0-rc1" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /usage/dotenv-es6-import-pitfall/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "dotenv": "^14.0.0" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /usage/dotenv-esm/index.mjs: -------------------------------------------------------------------------------- 1 | import dotenv from 'dotenv' 2 | 3 | dotenv.config() 4 | 5 | console.log(process.env) 6 | -------------------------------------------------------------------------------- /usage/dotenv-nodejs-backslash/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "dotenv": "^16.4.1" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /usage/dotenv-nodejs-json-escaped/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "dotenv": "^16.4.1" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /usage/dotenv-nodejs-multiline/index.js: -------------------------------------------------------------------------------- 1 | require('dotenv').config() 2 | 3 | console.log(process.env.PRIVATE_KEY) 4 | -------------------------------------------------------------------------------- /usage/dotenv-nodejs-multiline/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "dotenv": "^16.4.1" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /usage/dotenv-react/public/robots.txt: -------------------------------------------------------------------------------- 1 | # https://www.robotstxt.org/robotstxt.html 2 | User-agent: * 3 | Disallow: 4 | -------------------------------------------------------------------------------- /usage/dotenv-vault-custom-target/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "dotenv": "^16.3.0" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /usage/dotenv-vault-yarn/index.js: -------------------------------------------------------------------------------- 1 | require('dotenv').config() 2 | 3 | console.log(`Hello ${process.env.HELLO}`) 4 | -------------------------------------------------------------------------------- /usage/dotenv-vault-yarn/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "dotenv-vault": "^1.23.0" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /github-actions/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotenv-org/examples/HEAD/github-actions/public/favicon.ico -------------------------------------------------------------------------------- /github-actions/remix.env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | /// 3 | -------------------------------------------------------------------------------- /nextjs/github-actions/pages/day/index.tsx: -------------------------------------------------------------------------------- 1 | export default function DayPage() { 2 | return
Hello Day
3 | } 4 | -------------------------------------------------------------------------------- /nodejs/aws-lambda/event.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": "value", 3 | "key2": "value2", 4 | "other_key": "other_value" 5 | } 6 | -------------------------------------------------------------------------------- /nuxtjs/vercel/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotenv-org/examples/HEAD/nuxtjs/vercel/public/favicon.ico -------------------------------------------------------------------------------- /rails/heroku/app/controllers/application_controller.rb: -------------------------------------------------------------------------------- 1 | class ApplicationController < ActionController::Base 2 | end 3 | -------------------------------------------------------------------------------- /usage/dotenv-nodejs-inline-comments/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "dotenv": "^16.4.1" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /usage/dotenv-typescript/index.ts: -------------------------------------------------------------------------------- 1 | import dotenv from "dotenv" 2 | 3 | dotenv.config() 4 | 5 | console.log(process.env) 6 | -------------------------------------------------------------------------------- /nodejs/travis-ci/.travis.yml: -------------------------------------------------------------------------------- 1 | # .travis.yml 2 | language: node_js 3 | node_js: 4 | - 16 5 | install: 6 | - npm install 7 | -------------------------------------------------------------------------------- /rails/fly/app/models/application_record.rb: -------------------------------------------------------------------------------- 1 | class ApplicationRecord < ActiveRecord::Base 2 | primary_abstract_class 3 | end 4 | -------------------------------------------------------------------------------- /rails/fly/bin/rake: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require_relative "../config/boot" 3 | require "rake" 4 | Rake.application.run 5 | -------------------------------------------------------------------------------- /rails/heroku/app/controllers/www_controller.rb: -------------------------------------------------------------------------------- 1 | class WwwController < ApplicationController 2 | def index 3 | end 4 | end 5 | -------------------------------------------------------------------------------- /rails/heroku/bin/rake: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require_relative "../config/boot" 3 | require "rake" 4 | Rake.application.run 5 | -------------------------------------------------------------------------------- /rails/kamal/app/controllers/www_controller.rb: -------------------------------------------------------------------------------- 1 | class WwwController < ApplicationController 2 | def index 3 | end 4 | end 5 | -------------------------------------------------------------------------------- /rails/kamal/bin/rake: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require_relative "../config/boot" 3 | require "rake" 4 | Rake.application.run 5 | -------------------------------------------------------------------------------- /remix/github-actions/remix.env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | /// 3 | -------------------------------------------------------------------------------- /svelte-kit/vercel/static/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotenv-org/examples/HEAD/svelte-kit/vercel/static/favicon.png -------------------------------------------------------------------------------- /usage/dotenv-nodejs/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "private": true, 3 | "dependencies": { 4 | "dotenv": "^12.0.0" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /usage/dotenv-react-typescript/public/robots.txt: -------------------------------------------------------------------------------- 1 | # https://www.robotstxt.org/robotstxt.html 2 | User-agent: * 3 | Disallow: 4 | -------------------------------------------------------------------------------- /express/heroku/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "dotenv": "^16.3.1", 4 | "express": "^4.18.2" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /express/vercel/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "dotenv": "^16.3.1", 4 | "express": "^4.18.2" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /gatsby/gatsby-edge/src/images/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotenv-org/examples/HEAD/gatsby/gatsby-edge/src/images/icon.png -------------------------------------------------------------------------------- /pm2/heroku/ecosystem.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | apps : [{ 3 | script: 'index.js', 4 | watch: '.' 5 | }] 6 | }; 7 | -------------------------------------------------------------------------------- /quickstart/express-hello-world/README.md: -------------------------------------------------------------------------------- 1 | # quickstart/hello-world 2 | 3 | See [quickstart](https://dotenv.org/docs/quickstart) 4 | -------------------------------------------------------------------------------- /quickstart/flask-hello-world/README.md: -------------------------------------------------------------------------------- 1 | # quickstart/hello-world 2 | 3 | See [quickstart](https://dotenv.org/docs/quickstart) 4 | -------------------------------------------------------------------------------- /quickstart/nodejs-hello-world/README.md: -------------------------------------------------------------------------------- 1 | # quickstart/hello-world 2 | 3 | See [quickstart](https://dotenv.org/docs/quickstart) 4 | -------------------------------------------------------------------------------- /quickstart/sinatra-hello-world/README.md: -------------------------------------------------------------------------------- 1 | # quickstart/hello-world 2 | 3 | See [quickstart](https://dotenv.org/docs/quickstart) 4 | -------------------------------------------------------------------------------- /rails/fly/app/controllers/www_controller.rb: -------------------------------------------------------------------------------- 1 | class WwwController < ApplicationController 2 | def index 3 | end 4 | end 5 | 6 | -------------------------------------------------------------------------------- /rails/fly/bin/importmap: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | 3 | require_relative "../config/application" 4 | require "importmap/commands" 5 | -------------------------------------------------------------------------------- /rails/fly/public/robots.txt: -------------------------------------------------------------------------------- 1 | # See https://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file 2 | -------------------------------------------------------------------------------- /rails/heroku/app/models/application_record.rb: -------------------------------------------------------------------------------- 1 | class ApplicationRecord < ActiveRecord::Base 2 | primary_abstract_class 3 | end 4 | -------------------------------------------------------------------------------- /rails/heroku/bin/importmap: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | 3 | require_relative "../config/application" 4 | require "importmap/commands" 5 | -------------------------------------------------------------------------------- /rails/heroku/public/robots.txt: -------------------------------------------------------------------------------- 1 | # See https://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file 2 | -------------------------------------------------------------------------------- /rails/kamal/app/models/application_record.rb: -------------------------------------------------------------------------------- 1 | class ApplicationRecord < ActiveRecord::Base 2 | primary_abstract_class 3 | end 4 | -------------------------------------------------------------------------------- /rails/kamal/bin/importmap: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | 3 | require_relative "../config/application" 4 | require "importmap/commands" 5 | -------------------------------------------------------------------------------- /rails/kamal/public/robots.txt: -------------------------------------------------------------------------------- 1 | # See https://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file 2 | -------------------------------------------------------------------------------- /remix/github-actions/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotenv-org/examples/HEAD/remix/github-actions/public/favicon.ico -------------------------------------------------------------------------------- /turborepo/vercel/apps/docs/next.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | reactStrictMode: true, 3 | transpilePackages: ["ui"], 4 | }; 5 | -------------------------------------------------------------------------------- /turborepo/vercel/apps/web/next.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | reactStrictMode: true, 3 | transpilePackages: ["ui"], 4 | }; 5 | -------------------------------------------------------------------------------- /usage/dotenv-esm-parse/index.mjs: -------------------------------------------------------------------------------- 1 | import { parse as parseDotEnv } from 'dotenv' 2 | 3 | console.log(parseDotEnv("KEY=value")) 4 | -------------------------------------------------------------------------------- /usage/dotenv-react/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotenv-org/examples/HEAD/usage/dotenv-react/public/favicon.ico -------------------------------------------------------------------------------- /usage/dotenv-react/public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotenv-org/examples/HEAD/usage/dotenv-react/public/logo192.png -------------------------------------------------------------------------------- /usage/dotenv-react/public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotenv-org/examples/HEAD/usage/dotenv-react/public/logo512.png -------------------------------------------------------------------------------- /express/docker-compose/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "dotenv": "^16.3.1", 4 | "express": "^4.18.2" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /nuxtjs/edgio/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | // https://nuxt.com/docs/guide/concepts/typescript 3 | "extends": "./.nuxt/tsconfig.json" 4 | } 5 | -------------------------------------------------------------------------------- /nuxtjs/vercel/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | // https://nuxt.com/docs/guide/concepts/typescript 3 | "extends": "./.nuxt/tsconfig.json" 4 | } 5 | -------------------------------------------------------------------------------- /quickstart/php-hello-world/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "require": { 3 | "dotenv-org/phpdotenv-vault": "^0.2.4" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /rails/fly/README.md: -------------------------------------------------------------------------------- 1 | # rails/fly 2 | 3 | Read [dotenv.org/docs/frameworks/rails/fly](https://dotenv.org/docs/frameworks/rails/fly) 4 | -------------------------------------------------------------------------------- /ruby/circleci/build.rb: -------------------------------------------------------------------------------- 1 | # build.rb 2 | require "bundler/setup" 3 | require "dotenv-vault/load" 4 | puts "Hello #{ENV["HELLO"]}" 5 | 6 | -------------------------------------------------------------------------------- /usage/dotenv-vault-yarn-typescript/index.ts: -------------------------------------------------------------------------------- 1 | import dotenv from "dotenv" 2 | 3 | dotenv.config() 4 | 5 | console.log(process.env) 6 | -------------------------------------------------------------------------------- /vite/vercel/src/main.ts: -------------------------------------------------------------------------------- 1 | document.querySelector('#app')!.innerHTML = ` 2 | Hello ${import.meta.env.VITE_HELLO}. 3 | ` 4 | -------------------------------------------------------------------------------- /astro/netlify/.vscode/extensions.json: -------------------------------------------------------------------------------- 1 | { 2 | "recommendations": ["astro-build.astro-vscode"], 3 | "unwantedRecommendations": [] 4 | } 5 | -------------------------------------------------------------------------------- /dotenv-blog/2023-10-28/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "dotenv": "^16.3.1", 4 | "dotenv-expand": "^10.0.0" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /nodejs/dagger/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "devDependencies": { 3 | "@dagger.io/dagger": "^0.8.1", 4 | "dotenv": "^16.3.1" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /nodejs/fly/README.md: -------------------------------------------------------------------------------- 1 | # nodejs/fly 2 | 3 | Read [dotenv.org/docs/languages/nodejs/fly](https://www.dotenv.org/docs/languages/nodejs/fly) 4 | -------------------------------------------------------------------------------- /php/heroku/README.md: -------------------------------------------------------------------------------- 1 | # php/heroku 2 | 3 | Read [dotenv.org/docs/languages/php/heroku](https://www.dotenv.org/docs/languages/php/heroku) 4 | -------------------------------------------------------------------------------- /pm2/heroku/README.md: -------------------------------------------------------------------------------- 1 | # pm2/heroku 2 | 3 | Read [dotenv.org/docs/frameworks/pm2/heroku](https://www.dotenv.org/docs/frameworks/pm2/heroku) 4 | -------------------------------------------------------------------------------- /ruby/circleci/Gemfile: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | source "https://rubygems.org" 4 | 5 | 6 | gem "dotenv-vault", "~> 0.10.1" 7 | -------------------------------------------------------------------------------- /sinatra/heroku/index.rb: -------------------------------------------------------------------------------- 1 | require "dotenv-vault/load" 2 | require "sinatra" 3 | 4 | get "/" do 5 | "Hello #{ENV["HELLO"]}." 6 | end 7 | 8 | -------------------------------------------------------------------------------- /usage/dotenv-codekit/source/images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotenv-org/examples/HEAD/usage/dotenv-codekit/source/images/logo.png -------------------------------------------------------------------------------- /usage/dotenv-vault-nextjs-edge/vercel.json: -------------------------------------------------------------------------------- 1 | { 2 | "buildCommand": "pnpm turbo build", 3 | "ignoreCommand": "pnpm dlx turbo-ignore" 4 | } 5 | -------------------------------------------------------------------------------- /usage/dotenv-vault-nextjs/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotenv-org/examples/HEAD/usage/dotenv-vault-nextjs/public/favicon.ico -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | .DS_Store 3 | 4 | .env* 5 | !.env.project 6 | !.env.example 7 | 8 | # Local Netlify folder 9 | .netlify 10 | -------------------------------------------------------------------------------- /nestjs/heroku/tsconfig.build.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "exclude": ["node_modules", "test", "dist", "**/*spec.ts"] 4 | } 5 | -------------------------------------------------------------------------------- /nodejs/gitlab-ci/.gitlab-ci.yml: -------------------------------------------------------------------------------- 1 | image: node:20.5 2 | 3 | build: 4 | stage: build 5 | script: 6 | - npm install 7 | - npm run build 8 | -------------------------------------------------------------------------------- /rails/fly/app/channels/application_cable/channel.rb: -------------------------------------------------------------------------------- 1 | module ApplicationCable 2 | class Channel < ActionCable::Channel::Base 3 | end 4 | end 5 | -------------------------------------------------------------------------------- /rails/heroku/README.md: -------------------------------------------------------------------------------- 1 | # rails/heroku 2 | 3 | Read [dotenv.org/docs/frameworks/rails/heroku](https://dotenv.org/docs/frameworks/rails/heroku) 4 | -------------------------------------------------------------------------------- /rails/kamal/README.md: -------------------------------------------------------------------------------- 1 | # rails/kamal 2 | 3 | Read [dotenv.org/docs/frameworks/rails/kamal](https://dotenv.org/docs/frameworks/rails/kamal) 4 | 5 | -------------------------------------------------------------------------------- /rails/kamal/app/channels/application_cable/channel.rb: -------------------------------------------------------------------------------- 1 | module ApplicationCable 2 | class Channel < ActionCable::Channel::Base 3 | end 4 | end 5 | -------------------------------------------------------------------------------- /usage/dotenv-codekit/source/images/logo@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotenv-org/examples/HEAD/usage/dotenv-codekit/source/images/logo@2x.png -------------------------------------------------------------------------------- /usage/dotenv-expand-preload/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "dotenv": "^16.0.0", 4 | "dotenv-expand": "^8.0.0" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /usage/dotenv-nodejs-backslash/.env: -------------------------------------------------------------------------------- 1 | AZURE_USER1='dev-****\$dev-****' 2 | AZURE_USER2="dev-****\$dev-****" 3 | AZURE_USER3=`dev-****\$dev-****` 4 | -------------------------------------------------------------------------------- /usage/dotenv-typescript-config/index.ts: -------------------------------------------------------------------------------- 1 | (async function() { 2 | await import("dotenv/config") 3 | 4 | console.log(process.env) 5 | })() 6 | -------------------------------------------------------------------------------- /vite/vercel/README.md: -------------------------------------------------------------------------------- 1 | # vite/vercel 2 | 3 | Read [dotenv.org/docs/frameworks/vite/vercel](https://www.dotenv.org/docs/frameworks/vite/vercel) 4 | -------------------------------------------------------------------------------- /express/fly/README.md: -------------------------------------------------------------------------------- 1 | # express/fly 2 | 3 | Read [dotenv.org/docs/frameworks/express/fly](https://www.dotenv.org/docs/frameworks/express/fly) 4 | 5 | -------------------------------------------------------------------------------- /flask/heroku/README.md: -------------------------------------------------------------------------------- 1 | # flask/heroku 2 | 3 | Read [dotenv.org/docs/frameworks/flask/heroku](https://www.dotenv.org/docs/frameworks/flask/heroku) 4 | -------------------------------------------------------------------------------- /nodejs/buddy/README.md: -------------------------------------------------------------------------------- 1 | # nodejs/buddy 2 | 3 | Read [dotenv.org/docs/languages/nodejs/buddy](https://www.dotenv.org/docs/languages/nodejs/buddy) 4 | 5 | -------------------------------------------------------------------------------- /nodejs/docker/README.md: -------------------------------------------------------------------------------- 1 | # nodejs/docker 2 | 3 | Read [dotenv.org/docs/languages/nodejs/docker](https://www.dotenv.org/docs/languages/nodejs/docker) 4 | -------------------------------------------------------------------------------- /nodejs/heroku/README.md: -------------------------------------------------------------------------------- 1 | # nodejs/heroku 2 | 3 | Read [dotenv.org/docs/languages/nodejs/heroku](https://www.dotenv.org/docs/languages/nodejs/heroku) 4 | -------------------------------------------------------------------------------- /nodejs/render/README.md: -------------------------------------------------------------------------------- 1 | # nodejs/render 2 | 3 | Read [dotenv.org/docs/languages/nodejs/render](https://www.dotenv.org/docs/languages/nodejs/render) 4 | -------------------------------------------------------------------------------- /nodejs/vercel/README.md: -------------------------------------------------------------------------------- 1 | # nodejs/vercel 2 | 3 | Read [dotenv.org/docs/languages/nodejs/vercel](https://www.dotenv.org/docs/languages/nodejs/vercel) 4 | -------------------------------------------------------------------------------- /quickstart/sinatra-hello-world/index.rb: -------------------------------------------------------------------------------- 1 | require "dotenv-vault/load" 2 | require "sinatra" 3 | 4 | get "/" do 5 | "Hello #{ENV["HELLO"]}" 6 | end 7 | -------------------------------------------------------------------------------- /rails/heroku/app/channels/application_cable/channel.rb: -------------------------------------------------------------------------------- 1 | module ApplicationCable 2 | class Channel < ActionCable::Channel::Base 3 | end 4 | end 5 | -------------------------------------------------------------------------------- /remix/vercel/README.md: -------------------------------------------------------------------------------- 1 | # remix/vercel 2 | 3 | Read [dotenv.org/docs/frameworks/remix/vercel](https://www.dotenv.org/docs/frameworks/remix/vercel) 4 | -------------------------------------------------------------------------------- /sinatra/heroku/Gemfile: -------------------------------------------------------------------------------- 1 | source "https://rubygems.org" 2 | 3 | gem "sinatra", "~> 3.0" 4 | gem "rackup", "~> 1.0" 5 | gem "dotenv-vault", "~> 0.10.1" 6 | -------------------------------------------------------------------------------- /usage/dotenv-command-substitution/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "dotenv": "^16.0.0", 4 | "dotenv-eval": "^0.2.0" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /usage/dotenv-nestjs/tsconfig.build.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "exclude": ["node_modules", "test", "dist", "**/*spec.ts"] 4 | } 5 | -------------------------------------------------------------------------------- /usage/dotenv-react-typescript/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotenv-org/examples/HEAD/usage/dotenv-react-typescript/public/favicon.ico -------------------------------------------------------------------------------- /usage/dotenv-react-typescript/public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotenv-org/examples/HEAD/usage/dotenv-react-typescript/public/logo192.png -------------------------------------------------------------------------------- /usage/dotenv-react-typescript/public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotenv-org/examples/HEAD/usage/dotenv-react-typescript/public/logo512.png -------------------------------------------------------------------------------- /usage/dotenv-vault-nextjs-edge/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotenv-org/examples/HEAD/usage/dotenv-vault-nextjs-edge/public/favicon.ico -------------------------------------------------------------------------------- /usage/dotenv-webpack2/dist/main.js: -------------------------------------------------------------------------------- 1 | document.body.appendChild(function(){const e=document.createElement("div");return e.innerHTML="Hello CHANGE_ME",e}()); -------------------------------------------------------------------------------- /angular/vercel/README.md: -------------------------------------------------------------------------------- 1 | # angular/vercel 2 | 3 | Read [dotenv.org/docs/frameworks/angular/vercel](https://www.dotenv.org/docs/frameworks/angular/vercel) 4 | -------------------------------------------------------------------------------- /dotenv-blog/2023-10-24/README.md: -------------------------------------------------------------------------------- 1 | Example code from the blog at [What is a .env.vault file](https://dotenv.org/blog/2023/10/24/what-is-env-vault-file.html) 2 | -------------------------------------------------------------------------------- /express/heroku/README.md: -------------------------------------------------------------------------------- 1 | # express/heroku 2 | 3 | Read [dotenv.org/docs/frameworks/express/heroku](https://www.dotenv.org/docs/frameworks/express/heroku) 4 | -------------------------------------------------------------------------------- /express/vercel/README.md: -------------------------------------------------------------------------------- 1 | # express/vercel 2 | 3 | Read [dotenv.org/docs/frameworks/express/vercel](https://www.dotenv.org/docs/frameworks/express/vercel) 4 | -------------------------------------------------------------------------------- /nestjs/heroku/README.md: -------------------------------------------------------------------------------- 1 | # nestjs/heroku 2 | 3 | Read [dotenv.org/docs/frameworks/nestjs/heroku](https://www.dotenv.org/docs/frameworks/nestjs/heroku) 4 | -------------------------------------------------------------------------------- /nextjs/netlify/README.md: -------------------------------------------------------------------------------- 1 | # nextjs/netlify 2 | 3 | Read [dotenv.org/docs/frameworks/nextjs/netlify](https://www.dotenv.org/docs/frameworks/nextjs/netlify) 4 | -------------------------------------------------------------------------------- /nodejs/buddy/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "scripts": { 3 | "build": "node build.js" 4 | }, 5 | "dependencies": { 6 | "dotenv": "^16.3.1" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /nodejs/dagger/README.md: -------------------------------------------------------------------------------- 1 | # nodejs/dagger 2 | 3 | Read [dotenv.org/docs/languages/nodejs/dagger](https://www.dotenv.org/docs/languages/nodejs/dagger) 4 | 5 | -------------------------------------------------------------------------------- /nodejs/fly/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "scripts": { 3 | "start": "node index.js" 4 | }, 5 | "dependencies": { 6 | "dotenv": "^16.3.1" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /nodejs/railway/README.md: -------------------------------------------------------------------------------- 1 | # nodejs/railway 2 | 3 | Read [dotenv.org/docs/languages/nodejs/railway](https://www.dotenv.org/docs/languages/nodejs/railway) 4 | -------------------------------------------------------------------------------- /nuxtjs/edgio/README.md: -------------------------------------------------------------------------------- 1 | # nuxtjs/edgio 2 | 3 | Read [dotenv.org/docs/frameworks/nuxtjs/edgio](https://www.dotenv.org/docs/frameworks/nuxtjs/edgio) 4 | 5 | -------------------------------------------------------------------------------- /rails/fly/app/channels/application_cable/connection.rb: -------------------------------------------------------------------------------- 1 | module ApplicationCable 2 | class Connection < ActionCable::Connection::Base 3 | end 4 | end 5 | -------------------------------------------------------------------------------- /rails/fly/config/routes.rb: -------------------------------------------------------------------------------- 1 | Rails.application.routes.draw do 2 | get "up" => "rails/health#show", as: :rails_health_check 3 | root "www#index" 4 | end 5 | -------------------------------------------------------------------------------- /rails/heroku/app/channels/application_cable/connection.rb: -------------------------------------------------------------------------------- 1 | module ApplicationCable 2 | class Connection < ActionCable::Connection::Base 3 | end 4 | end 5 | -------------------------------------------------------------------------------- /rails/kamal/app/channels/application_cable/connection.rb: -------------------------------------------------------------------------------- 1 | module ApplicationCable 2 | class Connection < ActionCable::Connection::Base 3 | end 4 | end 5 | -------------------------------------------------------------------------------- /ruby/circleci/README.md: -------------------------------------------------------------------------------- 1 | # ruby/circleci 2 | 3 | Read [dotenv.org/docs/languages/ruby/circleci](https://www.dotenv.org/docs/languages/ruby/circleci) 4 | 5 | -------------------------------------------------------------------------------- /usage/dotenv-vault-yarn-typescript/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "dotenv-vault": "^1.23.0", 4 | "typescript": "^5.0.4" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /astro/netlify/README.md: -------------------------------------------------------------------------------- 1 | # astro/netlify 2 | 3 | Read [dotenv.org/docs/frameworks/astro/netlify](https://www.dotenv.org/docs/frameworks/astro/netlify) 4 | 5 | -------------------------------------------------------------------------------- /dotenv-blog/2023-10-28/README.md: -------------------------------------------------------------------------------- 1 | Example code from the blog at [Node.js 20.6.0 includes built-in support for .env files](https://dotenv.org/blog/2023/10/28/) 2 | -------------------------------------------------------------------------------- /laravel/heroku/README.md: -------------------------------------------------------------------------------- 1 | # laravel/heroku 2 | 3 | Read [dotenv.org/docs/frameworks/laravel/heroku](https://www.dotenv.org/docs/frameworks/laravel/heroku) 4 | 5 | -------------------------------------------------------------------------------- /nextjs/vercel/README.md: -------------------------------------------------------------------------------- 1 | # nextjs/vercel 2 | 3 | Read [dotenv.org/docs/frameworks/nextjs/vercel](https://www.dotenv.org/docs/frameworks/nextjs/vercel) 4 | 5 | -------------------------------------------------------------------------------- /nodejs/bitbucket/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "scripts": { 3 | "build": "node build.js" 4 | }, 5 | "dependencies": { 6 | "dotenv": "^16.3.1" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /nodejs/circleci/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "scripts": { 3 | "build": "node build.js" 4 | }, 5 | "dependencies": { 6 | "dotenv": "^16.3.1" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /nodejs/cloud66/README.md: -------------------------------------------------------------------------------- 1 | # nodejs/cloud66 2 | 3 | Read [dotenv.org/docs/languages/nodejs/cloud66](https://www.dotenv.org/docs/languages/nodejs/cloud66) 4 | 5 | -------------------------------------------------------------------------------- /nodejs/docker/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "scripts": { 3 | "start": "node index.js" 4 | }, 5 | "dependencies": { 6 | "dotenv": "^16.3.1" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /nodejs/gitlab-ci/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "scripts": { 3 | "build": "node build.js" 4 | }, 5 | "dependencies": { 6 | "dotenv": "^16.3.1" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /nodejs/render/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "scripts": { 3 | "start": "node index.js" 4 | }, 5 | "dependencies": { 6 | "dotenv": "^16.3.1" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /nodejs/travis-ci/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "scripts": { 3 | "test": "node build.js" 4 | }, 5 | "dependencies": { 6 | "dotenv": "^16.3.1" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /nuxtjs/vercel/README.md: -------------------------------------------------------------------------------- 1 | # nuxtjs/vercel 2 | 3 | Read [dotenv.org/docs/frameworks/nuxtjs/vercel](https://www.dotenv.org/docs/frameworks/nuxtjs/vercel) 4 | 5 | -------------------------------------------------------------------------------- /rails/fly/app/mailers/application_mailer.rb: -------------------------------------------------------------------------------- 1 | class ApplicationMailer < ActionMailer::Base 2 | default from: "from@example.com" 3 | layout "mailer" 4 | end 5 | -------------------------------------------------------------------------------- /rails/kamal/app/mailers/application_mailer.rb: -------------------------------------------------------------------------------- 1 | class ApplicationMailer < ActionMailer::Base 2 | default from: "from@example.com" 3 | layout "mailer" 4 | end 5 | -------------------------------------------------------------------------------- /rails/kamal/config/routes.rb: -------------------------------------------------------------------------------- 1 | Rails.application.routes.draw do 2 | get "up" => "rails/health#show", as: :rails_health_check 3 | root "www#index" 4 | end 5 | -------------------------------------------------------------------------------- /sinatra/heroku/README.md: -------------------------------------------------------------------------------- 1 | # sinatra/heroku 2 | 3 | Read [dotenv.org/docs/frameworks/sinatra/heroku](https://www.dotenv.org/docs/frameworks/sinatra/heroku) 4 | 5 | -------------------------------------------------------------------------------- /usage/dotenv-assignment/index.js: -------------------------------------------------------------------------------- 1 | const result = require('dotenv').config() 2 | const env = result.parsed 3 | console.log(env) 4 | console.log(env["HELLO"]) 5 | -------------------------------------------------------------------------------- /usage/dotenv-nodejs-inline-comments-expand/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "dotenv": "^16.4.1", 4 | "dotenv-expand": "^10.0.0" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /express/docker-compose/Dockerfile: -------------------------------------------------------------------------------- 1 | # Dockerfile 2 | FROM node:16 3 | WORKDIR /usr/src/app 4 | COPY package*.json ./ 5 | RUN npm install 6 | COPY . . 7 | EXPOSE 3000 8 | -------------------------------------------------------------------------------- /nodejs/circleci/README.md: -------------------------------------------------------------------------------- 1 | # nodejs/circleci 2 | 3 | Read [dotenv.org/docs/languages/nodejs/circleci](https://www.dotenv.org/docs/languages/nodejs/circleci) 4 | 5 | -------------------------------------------------------------------------------- /nodejs/fly/.dockerignore: -------------------------------------------------------------------------------- 1 | fly.toml 2 | Dockerfile 3 | .dockerignore 4 | node_modules 5 | .git 6 | 7 | .env* 8 | .flaskenv* 9 | !.env.project 10 | !.env.vault -------------------------------------------------------------------------------- /nodejs/github-actions/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "scripts": { 3 | "build": "node build.js" 4 | }, 5 | "dependencies": { 6 | "dotenv": "^16.3.1" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /nuxtjs/edgio/routes.ts: -------------------------------------------------------------------------------- 1 | import { Router } from '@edgio/core' 2 | import { nuxtRoutes } from '@edgio/nuxt-nitro' 3 | 4 | export default new Router().use(nuxtRoutes) 5 | -------------------------------------------------------------------------------- /rails/heroku/app/mailers/application_mailer.rb: -------------------------------------------------------------------------------- 1 | class ApplicationMailer < ActionMailer::Base 2 | default from: "from@example.com" 3 | layout "mailer" 4 | end 5 | -------------------------------------------------------------------------------- /remix/vercel/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | 3 | /.cache 4 | /build 5 | /public/build 6 | .env 7 | 8 | .env* 9 | .flaskenv* 10 | !.env.project 11 | !.env.vault -------------------------------------------------------------------------------- /turborepo/vercel/packages/ui/index.tsx: -------------------------------------------------------------------------------- 1 | import * as React from "react"; 2 | 3 | // component exports 4 | export * from "./Button"; 5 | export * from "./Header"; 6 | -------------------------------------------------------------------------------- /usage/dotenv-supertest/index.js: -------------------------------------------------------------------------------- 1 | const app = require('./app.js') 2 | 3 | app.listen(3000, () => { 4 | console.log('Example app listening on port 3000') 5 | }) 6 | -------------------------------------------------------------------------------- /flask/heroku/wsgi.py: -------------------------------------------------------------------------------- 1 | from dotenv_vault import load_dotenv 2 | load_dotenv() 3 | from index import app 4 | 5 | if __name__ == '__main__': 6 | app.run(debug=False) 7 | 8 | -------------------------------------------------------------------------------- /nodejs/aws-lambda/README.md: -------------------------------------------------------------------------------- 1 | # nodjes/aws-lambda 2 | 3 | Read [dotenv.org/docs/languages/nodejs/aws-lambda](https://www.dotenv.org/docs/languages/nodejs/aws-lambda) 4 | 5 | -------------------------------------------------------------------------------- /nodejs/bitbucket/README.md: -------------------------------------------------------------------------------- 1 | # nodejs/bitbucket 2 | 3 | Read [dotenv.org/docs/languages/nodejs/bitbucket](https://www.dotenv.org/docs/languages/nodejs/bitbucket) 4 | 5 | -------------------------------------------------------------------------------- /nodejs/gitlab-ci/README.md: -------------------------------------------------------------------------------- 1 | # nodejs/gitlab-ci 2 | 3 | Read [dotenv.org/docs/languages/nodejs/gitlab-ci](https://www.dotenv.org/docs/languages/nodejs/gitlab-ci) 4 | 5 | -------------------------------------------------------------------------------- /nodejs/northflank/README.md: -------------------------------------------------------------------------------- 1 | # nodejs/northflank 2 | 3 | Read [dotenv.org/docs/languages/nodejs/northflank](https://www.dotenv.org/docs/languages/nodesj/northflank) 4 | 5 | -------------------------------------------------------------------------------- /nodejs/travis-ci/README.md: -------------------------------------------------------------------------------- 1 | # nodejs/travis-ci 2 | 3 | Read [dotenv.org/docs/languages/nodejs/travis-ci](https://www.dotenv.org/docs/languages/nodejs/travis-ci) 4 | 5 | -------------------------------------------------------------------------------- /remix/github-actions/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | 3 | /.cache 4 | /build 5 | /public/build 6 | .env 7 | 8 | .env* 9 | .flaskenv* 10 | !.env.project 11 | !.env.vault -------------------------------------------------------------------------------- /rocket-rs/heroku/README.md: -------------------------------------------------------------------------------- 1 | # rocket-rs/heroku 2 | 3 | Read [dotenv.org/docs/frameworks/rocket-rs/heroku](https://www.dotenv.org/docs/frameworks/rocket-rs/heroku) 4 | 5 | -------------------------------------------------------------------------------- /usage/dotenv-typescript-custom-target/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "dotenv": "motdotla/dotenv#50163a1de9ae392fef03600350fef7d043e26361" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /express/fly/.dockerignore: -------------------------------------------------------------------------------- 1 | /.git 2 | /node_modules 3 | .dockerignore 4 | .env 5 | Dockerfile 6 | fly.toml 7 | 8 | .env* 9 | .flaskenv* 10 | !.env.project 11 | !.env.vault -------------------------------------------------------------------------------- /gatsby/gatsby-edge/README.md: -------------------------------------------------------------------------------- 1 | # gatsby/gatsby-edge 2 | 3 | Read [dotenv.org/docs/frameworks/gatsby/gatsby-edge](https://www.dotenv.org/docs/frameworks/gatsby/gatsby-edge) 4 | -------------------------------------------------------------------------------- /nextjs/vercel/pages/index.tsx: -------------------------------------------------------------------------------- 1 | export default function IndexPage() { 2 | return ( 3 |
4 | Hello {process.env.NEXT_PUBLIC_HELLO}. 5 |
6 | ) 7 | } 8 | -------------------------------------------------------------------------------- /nuxtjs/edgio/app.vue: -------------------------------------------------------------------------------- 1 | 4 | 5 | 8 | -------------------------------------------------------------------------------- /nuxtjs/vercel/app.vue: -------------------------------------------------------------------------------- 1 | 4 | 5 | 8 | -------------------------------------------------------------------------------- /rails/fly/bin/rails: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | APP_PATH = File.expand_path("../config/application", __dir__) 3 | require_relative "../config/boot" 4 | require "rails/commands" 5 | -------------------------------------------------------------------------------- /rails/kamal/bin/rails: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | APP_PATH = File.expand_path("../config/application", __dir__) 3 | require_relative "../config/boot" 4 | require "rails/commands" 5 | -------------------------------------------------------------------------------- /svelte-kit/vercel/README.md: -------------------------------------------------------------------------------- 1 | # svelte-kit/vercel 2 | 3 | Read [dotenv.org/docs/frameworks/svelte-kit/vercel](https://www.dotenv.org/docs/frameworks/svelte-kit/vercel) 4 | 5 | -------------------------------------------------------------------------------- /turborepo/vercel/README.md: -------------------------------------------------------------------------------- 1 | # turborepo/vercel 2 | 3 | Read [dotenv.org/docs/frameworks/turborepo/vercel](https://www.dotenv.org/docs/frameworks/turborepo/vercel) 4 | 5 | 6 | -------------------------------------------------------------------------------- /turborepo/vercel/packages/ui/Header.tsx: -------------------------------------------------------------------------------- 1 | import * as React from "react"; 2 | 3 | export const Header = ({ text }: { text: string }) => { 4 | return

{text}

; 5 | }; 6 | -------------------------------------------------------------------------------- /turborepo/vercel/packages/ui/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "tsconfig/react-library.json", 3 | "include": ["."], 4 | "exclude": ["dist", "build", "node_modules"] 5 | } 6 | -------------------------------------------------------------------------------- /usage/dotenv-assignment/README.md: -------------------------------------------------------------------------------- 1 | # dotenv-assignment 2 | 3 | Demonstrates assigning the parsed values to a variable. 4 | 5 | ``` 6 | npm install 7 | node index.js 8 | ``` 9 | -------------------------------------------------------------------------------- /usage/dotenv-cypress-typescript/cypress/videos/spec.cy.ts.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotenv-org/examples/HEAD/usage/dotenv-cypress-typescript/cypress/videos/spec.cy.ts.mp4 -------------------------------------------------------------------------------- /usage/dotenv-vault-typescript-custom-target/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "dotenv": "motdotla/dotenv#80fff4bbf052c68e51b7a3efcca6e9322621202a" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /nextjs/netlify/pages/index.tsx: -------------------------------------------------------------------------------- 1 | export default function IndexPage() { 2 | return ( 3 |
4 | Hello {process.env.NEXT_PUBLIC_HELLO}. 5 |
6 | ) 7 | } 8 | -------------------------------------------------------------------------------- /nodejs/digital-ocean/README.md: -------------------------------------------------------------------------------- 1 | # nodejs/digital-ocean 2 | 3 | Read [dotenv.org/docs/languages/nodejs/digital-ocean](https://www.dotenv.org/docs/languages/nodejs/digital-ocean) 4 | -------------------------------------------------------------------------------- /nodejs/docker/Dockerfile: -------------------------------------------------------------------------------- 1 | # Dockerfile 2 | FROM node:16 3 | WORKDIR /usr/src/app 4 | COPY package*.json ./ 5 | RUN npm install 6 | COPY . . 7 | EXPOSE 3000 8 | CMD node index.js 9 | -------------------------------------------------------------------------------- /nodejs/northflank/Dockerfile: -------------------------------------------------------------------------------- 1 | # Dockerfile 2 | FROM node:16 3 | WORKDIR /usr/src/app 4 | COPY package*.json ./ 5 | RUN npm install 6 | COPY . . 7 | EXPOSE 80 8 | CMD node index.js 9 | -------------------------------------------------------------------------------- /quickstart/laravel-hello-world/resources/views/welcome.blade.php: -------------------------------------------------------------------------------- 1 | 4 | Hello {process.env.NEXT_PUBLIC_HELLO}. 5 | 6 | ); 7 | } 8 | 9 | -------------------------------------------------------------------------------- /usage/dotenv-es6-import-pitfall/valid.mjs: -------------------------------------------------------------------------------- 1 | import 'dotenv/config' 2 | import errorReporter from './errorReporter.mjs' 3 | 4 | errorReporter.report(new Error('documented example')) 5 | -------------------------------------------------------------------------------- /angular/vercel/.vscode/extensions.json: -------------------------------------------------------------------------------- 1 | { 2 | // For more information, visit: https://go.microsoft.com/fwlink/?linkid=827846 3 | "recommendations": ["angular.ng-template"] 4 | } 5 | -------------------------------------------------------------------------------- /github-actions/.eslintrc.js: -------------------------------------------------------------------------------- 1 | /** @type {import('eslint').Linter.Config} */ 2 | module.exports = { 3 | extends: ["@remix-run/eslint-config", "@remix-run/eslint-config/node"], 4 | }; 5 | -------------------------------------------------------------------------------- /nextjs/github-actions/README.md: -------------------------------------------------------------------------------- 1 | # nextjs/github-actions 2 | 3 | Read [dotenv.org/docs/frameworks/nextjs/github-actions](https://www.dotenv.org/docs/frameworks/nextjs/github-actions) 4 | -------------------------------------------------------------------------------- /nodejs/aws-beanstalk/README.md: -------------------------------------------------------------------------------- 1 | # nodejs/aws-beanstalk 2 | 3 | Read [dotenv.org/docs/languages/nodejs/aws-beanstalk](https://www.dotenv.org/docs/langauges/nodejs/aws-beanstalk) 4 | 5 | -------------------------------------------------------------------------------- /nodejs/bitbucket/bitbucket-pipelines.yml: -------------------------------------------------------------------------------- 1 | image: node:20 2 | pipelines: 3 | default: 4 | - step: 5 | script: 6 | - npm install 7 | - npm run build 8 | 9 | -------------------------------------------------------------------------------- /nodejs/fly/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | .env* 3 | .flaskenv* 4 | !.env.project 5 | !.env.vault 6 | 7 | # Added for example purposes only! You should not commit your .env file to code. 8 | !.env 9 | -------------------------------------------------------------------------------- /nodejs/github-actions/README.md: -------------------------------------------------------------------------------- 1 | # nodejs/github-actions 2 | 3 | Read [dotenv.org/docs/languages/nodejs/github-actions](https://www.dotenv.org/docs/languages/nodejs/github-actions) 4 | -------------------------------------------------------------------------------- /nodejs/render/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | .env* 3 | .flaskenv* 4 | !.env.project 5 | !.env.vault 6 | 7 | # Added for example purposes only! You should not commit your .env file to code. 8 | !.env 9 | -------------------------------------------------------------------------------- /remix/github-actions/README.md: -------------------------------------------------------------------------------- 1 | # remix/github-actions 2 | 3 | Read [dotenv.org/docs/frameworks/remix/github-actions](https://www.dotenv.org/docs/frameworks/remix/github-actions) 4 | 5 | -------------------------------------------------------------------------------- /serverless/aws-lambda/README.md: -------------------------------------------------------------------------------- 1 | # serverless/aws-lambda 2 | 3 | Read [dotenv.org/docs/frameworks/serverless/aws-lambda](https://www.dotenv.org/docs/frameworks/serverless/aws-lambda) 4 | -------------------------------------------------------------------------------- /sinatra/heroku/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | .env* 3 | .flaskenv* 4 | !.env.project 5 | !.env.vault 6 | 7 | # for example purposes only. you should NOT commit your .env to source code 8 | !.env 9 | -------------------------------------------------------------------------------- /usage/dotenv-config-url-path/README.md: -------------------------------------------------------------------------------- 1 | # dotenv-config-url-path 2 | 3 | Demonstrates passing a `URL` object instead of a string. 4 | 5 | ``` 6 | npm install 7 | node index.js 8 | ``` 9 | -------------------------------------------------------------------------------- /usage/dotenv-nestjs/README.md: -------------------------------------------------------------------------------- 1 | # README 2 | 3 | See [https://docs.nestjs.com/techniques/configuration](https://docs.nestjs.com/techniques/configuration) for using dotenv with NestJS 4 | -------------------------------------------------------------------------------- /express/docker-compose/README.md: -------------------------------------------------------------------------------- 1 | # express/docker-compose 2 | 3 | Read [dotenv.org/docs/frameworks/express/docker-compose](https://www.dotenv.org/docs/frameworks/express/docker-compose) 4 | -------------------------------------------------------------------------------- /laravel/laravel-forge/README.md: -------------------------------------------------------------------------------- 1 | # laravel/laravel-forge 2 | 3 | Read [dotenv.org/docs/frameworks/laravel/laravel-forge](https://www.dotenv.org/docs/frameworks/laravel/laravel-forge) 4 | 5 | -------------------------------------------------------------------------------- /nodejs/railway/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | .env* 3 | .flaskenv* 4 | !.env.project 5 | !.env.vault 6 | 7 | # Added for example purposes only! You should not commit your .env file to code. 8 | !.env 9 | -------------------------------------------------------------------------------- /quickstart/echo-hello-world/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | .env* 3 | .flaskenv* 4 | !.env.project 5 | !.env.vault 6 | 7 | # for example only. do not actually commit your real .env file to code 8 | !.env 9 | -------------------------------------------------------------------------------- /remix/github-actions/.eslintrc.js: -------------------------------------------------------------------------------- 1 | /** @type {import('eslint').Linter.Config} */ 2 | module.exports = { 3 | extends: ["@remix-run/eslint-config", "@remix-run/eslint-config/node"], 4 | }; 5 | -------------------------------------------------------------------------------- /nodejs/cloud66/Dockerfile: -------------------------------------------------------------------------------- 1 | # Dockerfile 2 | FROM node:16 3 | WORKDIR /usr/src/app 4 | COPY package*.json ./ 5 | RUN npm install 6 | COPY . . 7 | EXPOSE 3000 8 | CMD node index.js 9 | 10 | -------------------------------------------------------------------------------- /pm2/heroku/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | 3 | .env* 4 | .flaskenv* 5 | !.env.project 6 | !.env.vault 7 | 8 | # for example purposes ONLY. do not commit your .env file to code 9 | !.env 10 | -------------------------------------------------------------------------------- /rails/fly/app/assets/config/manifest.js: -------------------------------------------------------------------------------- 1 | //= link_tree ../images 2 | //= link_directory ../stylesheets .css 3 | //= link_tree ../../javascript .js 4 | //= link_tree ../../../vendor/javascript .js 5 | -------------------------------------------------------------------------------- /usage/dotenv-config-url-path/index.js: -------------------------------------------------------------------------------- 1 | const dir = process.cwd() 2 | const url = new URL(`file://${dir}/.env`) 3 | require('dotenv').config({ path: url }) 4 | 5 | console.log(process.env.HELLO) 6 | -------------------------------------------------------------------------------- /usage/dotenv-nodejs-backslash/index.js: -------------------------------------------------------------------------------- 1 | require('dotenv').config() 2 | 3 | console.log(process.env.AZURE_USER1) 4 | console.log(process.env.AZURE_USER2) 5 | console.log(process.env.AZURE_USER3) 6 | -------------------------------------------------------------------------------- /usage/dotenv-vault-custom-target/.env.vault: -------------------------------------------------------------------------------- 1 | # .env.vault (generated with npx dotenv-vault local build) 2 | DOTENV_VAULT_DEVELOPMENT="7dEq+tZW6U8Aay5GlVakkaNw88lNUGtCr+Umf+R2Dm03ocAowTrKi7oYEewT" 3 | -------------------------------------------------------------------------------- /php/heroku/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | .env* 3 | .flaskenv* 4 | !.env.project 5 | !.env.vault 6 | 7 | # for guide/demo purposes only. DON'T commit your real .env to code 8 | !.env 9 | 10 | vendor/ 11 | -------------------------------------------------------------------------------- /rails/fly/config.ru: -------------------------------------------------------------------------------- 1 | # This file is used by Rack-based servers to start the application. 2 | 3 | require_relative "config/environment" 4 | 5 | run Rails.application 6 | Rails.application.load_server 7 | -------------------------------------------------------------------------------- /rails/heroku/app/assets/config/manifest.js: -------------------------------------------------------------------------------- 1 | //= link_tree ../images 2 | //= link_directory ../stylesheets .css 3 | //= link_tree ../../javascript .js 4 | //= link_tree ../../../vendor/javascript .js 5 | -------------------------------------------------------------------------------- /rails/kamal/app/assets/config/manifest.js: -------------------------------------------------------------------------------- 1 | //= link_tree ../images 2 | //= link_directory ../stylesheets .css 3 | //= link_tree ../../javascript .js 4 | //= link_tree ../../../vendor/javascript .js 5 | -------------------------------------------------------------------------------- /rocket-rs/heroku/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | 3 | .env* 4 | .flaskenv* 5 | !.env.project 6 | !.env.vault 7 | 8 | # for example purposes only. DO NOT commit your .env file to code 9 | !.env 10 | -------------------------------------------------------------------------------- /svelte-kit/vercel/vite.config.js: -------------------------------------------------------------------------------- 1 | import { sveltekit } from '@sveltejs/kit/vite'; 2 | import { defineConfig } from 'vite'; 3 | 4 | export default defineConfig({ 5 | plugins: [sveltekit()] 6 | }); 7 | -------------------------------------------------------------------------------- /usage/dotenv-supertest/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "assert": "^2.0.0", 4 | "dotenv": "^16.1.0-rc1", 5 | "express": "^4.18.2", 6 | "supertest": "^6.3.3" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /laravel/heroku/storage/framework/.gitignore: -------------------------------------------------------------------------------- 1 | compiled.php 2 | config.php 3 | down 4 | events.scanned.php 5 | maintenance.php 6 | routes.php 7 | routes.scanned.php 8 | schedule-* 9 | services.json 10 | -------------------------------------------------------------------------------- /nodejs/buddy/build.js: -------------------------------------------------------------------------------- 1 | // build.js 2 | require('dotenv').config() 3 | console.log(process.env) // remove this after you've confirmed it is working 4 | 5 | console.log(`Hello ${process.env.HELLO}`) 6 | 7 | -------------------------------------------------------------------------------- /nodejs/circleci/build.js: -------------------------------------------------------------------------------- 1 | // build.js 2 | require('dotenv').config() 3 | console.log(process.env) // remove this after you've confirmed it is working 4 | 5 | console.log(`Hello ${process.env.HELLO}`) 6 | 7 | -------------------------------------------------------------------------------- /nodejs/google-cloud-build/README.md: -------------------------------------------------------------------------------- 1 | # nodjes/google-cloud-build 2 | 3 | Read [dotenv.org/docs/languages/nodejs/google-cloud-build](https://www.dotenv.org/docs/languages/nodejs/google-cloud-build) 4 | 5 | -------------------------------------------------------------------------------- /rails/fly/app/javascript/application.js: -------------------------------------------------------------------------------- 1 | // Configure your import map in config/importmap.rb. Read more: https://github.com/rails/importmap-rails 2 | import "@hotwired/turbo-rails" 3 | import "controllers" 4 | -------------------------------------------------------------------------------- /rails/heroku/config.ru: -------------------------------------------------------------------------------- 1 | # This file is used by Rack-based servers to start the application. 2 | 3 | require_relative "config/environment" 4 | 5 | run Rails.application 6 | Rails.application.load_server 7 | -------------------------------------------------------------------------------- /rails/kamal/config.ru: -------------------------------------------------------------------------------- 1 | # This file is used by Rack-based servers to start the application. 2 | 3 | require_relative "config/environment" 4 | 5 | run Rails.application 6 | Rails.application.load_server 7 | -------------------------------------------------------------------------------- /serverless/aws-lambda/.gitignore: -------------------------------------------------------------------------------- 1 | # package directories 2 | node_modules 3 | jspm_packages 4 | 5 | # Serverless directories 6 | .serverless 7 | .env* 8 | .flaskenv* 9 | !.env.project 10 | !.env.vault -------------------------------------------------------------------------------- /usage/dotenv-esm/README.md: -------------------------------------------------------------------------------- 1 | # examples/dotenv-esm 2 | 3 | An example of using dotenv with ESM (ECMAScript Modules). 4 | 5 | ## USAGE 6 | 7 | ```bash 8 | npm install 9 | node index.mjs 10 | ``` 11 | -------------------------------------------------------------------------------- /usage/dotenv-express/README.md: -------------------------------------------------------------------------------- 1 | # examples/dotenv-express 2 | 3 | An example of using dotenv with ExpressJS. 4 | 5 | ## USAGE 6 | 7 | ```bash 8 | npm install 9 | node index.js 10 | ``` 11 | 12 | -------------------------------------------------------------------------------- /usage/dotenv-vault-nextjs/.env.vault: -------------------------------------------------------------------------------- 1 | # .env.vault (generated with npx dotenv-vault local build) 2 | DOTENV_VAULT_DEVELOPMENT="k6DnWLs1Ox6zxX7HL9kcUtuNrfDSzmWv3m6gr875LEEi8XTPldHQ9fXztzNVl23l4NYXdTtPxDST" 3 | -------------------------------------------------------------------------------- /nodejs/bitbucket/build.js: -------------------------------------------------------------------------------- 1 | // build.js 2 | require('dotenv').config() 3 | console.log(process.env) // remove this after you've confirmed it is working 4 | 5 | console.log(`Hello ${process.env.HELLO}`) 6 | 7 | -------------------------------------------------------------------------------- /nodejs/github-actions/build.js: -------------------------------------------------------------------------------- 1 | // build.js 2 | require('dotenv').config() 3 | console.log(process.env) // remove this after you've confirmed it is working 4 | 5 | console.log(`Hello ${process.env.HELLO}`) 6 | -------------------------------------------------------------------------------- /nodejs/gitlab-ci/build.js: -------------------------------------------------------------------------------- 1 | // build.js 2 | require('dotenv').config() 3 | console.log(process.env) // remove this after you've confirmed it is working 4 | 5 | console.log(`Hello ${process.env.HELLO}`) 6 | 7 | -------------------------------------------------------------------------------- /nodejs/travis-ci/build.js: -------------------------------------------------------------------------------- 1 | // build.js 2 | require('dotenv').config() 3 | console.log(process.env) // remove this after you've confirmed it is working 4 | 5 | console.log(`Hello ${process.env.HELLO}`) 6 | 7 | -------------------------------------------------------------------------------- /quickstart/express-hello-world/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | .env* 3 | .flaskenv* 4 | !.env.project 5 | !.env.vault 6 | 7 | # for example purposes only. recommended you don't usually commit your .env file to code 8 | !.env 9 | -------------------------------------------------------------------------------- /quickstart/rust-hello-world/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | 3 | .env* 4 | .flaskenv* 5 | !.env.project 6 | !.env.vault 7 | 8 | # for example purposes only. DO NOT commit your .env file to code 9 | !.env 10 | -------------------------------------------------------------------------------- /quickstart/sinatra-hello-world/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | .env* 3 | .flaskenv* 4 | !.env.project 5 | !.env.vault 6 | 7 | # for example purposes only. don't commit your .env file to code in your own projects 8 | !.env 9 | -------------------------------------------------------------------------------- /rails/heroku/app/javascript/application.js: -------------------------------------------------------------------------------- 1 | // Configure your import map in config/importmap.rb. Read more: https://github.com/rails/importmap-rails 2 | import "@hotwired/turbo-rails" 3 | import "controllers" 4 | -------------------------------------------------------------------------------- /rails/kamal/app/javascript/application.js: -------------------------------------------------------------------------------- 1 | // Configure your import map in config/importmap.rb. Read more: https://github.com/rails/importmap-rails 2 | import "@hotwired/turbo-rails" 3 | import "controllers" 4 | -------------------------------------------------------------------------------- /turborepo/vercel/packages/ui/Button.tsx: -------------------------------------------------------------------------------- 1 | "use client"; 2 | 3 | import * as React from "react"; 4 | 5 | export const Button = () => { 6 | return ; 7 | }; 8 | -------------------------------------------------------------------------------- /usage/dotenv-vault-nextjs-edge/next.config.js: -------------------------------------------------------------------------------- 1 | /** @type {import('next').NextConfig} */ 2 | const nextConfig = { 3 | reactStrictMode: true, 4 | swcMinify: true, 5 | } 6 | 7 | module.exports = nextConfig 8 | -------------------------------------------------------------------------------- /usage/dotenv-vault-nextjs-edge/pages/_app.js: -------------------------------------------------------------------------------- 1 | import '../styles/globals.css' 2 | 3 | function MyApp({ Component, pageProps }) { 4 | return 5 | } 6 | 7 | export default MyApp 8 | -------------------------------------------------------------------------------- /usage/dotenv-vault-typescript-custom-target/.env.vault: -------------------------------------------------------------------------------- 1 | # .env.vault (generated with npx dotenv-vault local build) 2 | DOTENV_VAULT_DEVELOPMENT="7dEq+tZW6U8Aay5GlVakkaNw88lNUGtCr+Umf+R2Dm03ocAowTrKi7oYEewT" 3 | -------------------------------------------------------------------------------- /usage/dotenv-yarn/README.md: -------------------------------------------------------------------------------- 1 | # examples/dotenv-yarn 2 | 3 | An example of using dotenv with yarn. 4 | 5 | ## Usage 6 | 7 | ``` 8 | brew install yarn 9 | yarn install 10 | node index.js 11 | ``` 12 | -------------------------------------------------------------------------------- /laravel/laravel-forge/storage/framework/.gitignore: -------------------------------------------------------------------------------- 1 | compiled.php 2 | config.php 3 | down 4 | events.scanned.php 5 | maintenance.php 6 | routes.php 7 | routes.scanned.php 8 | schedule-* 9 | services.json 10 | -------------------------------------------------------------------------------- /nodejs/heroku/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | 3 | .env* 4 | .flaskenv* 5 | !.env.project 6 | !.env.vault 7 | 8 | # Added for example purposes only! You should not commit your .env file to code. 9 | !.env 10 | -------------------------------------------------------------------------------- /quickstart/rust-hello-world/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | let _ = dotenv_vault::dotenv(); 3 | 4 | let hello = std::env::var("HELLO").unwrap_or("".to_string()); 5 | 6 | println!("Hello {hello}"); 7 | } 8 | -------------------------------------------------------------------------------- /nestjs/heroku/src/app.service.ts: -------------------------------------------------------------------------------- 1 | import { Injectable } from '@nestjs/common'; 2 | 3 | @Injectable() 4 | export class AppService { 5 | getHello(): string { 6 | return `Hello ${process.env.HELLO}`; 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /nodejs/digital-ocean/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | 3 | .env* 4 | .flaskenv* 5 | !.env.project 6 | !.env.vault 7 | 8 | # Added for example purposes only! You should not commit your .env file to code. 9 | !.env 10 | -------------------------------------------------------------------------------- /rails/fly/test/application_system_test_case.rb: -------------------------------------------------------------------------------- 1 | require "test_helper" 2 | 3 | class ApplicationSystemTestCase < ActionDispatch::SystemTestCase 4 | driven_by :selenium, using: :chrome, screen_size: [1400, 1400] 5 | end 6 | -------------------------------------------------------------------------------- /usage/dotenv-command-substitution/index.js: -------------------------------------------------------------------------------- 1 | var dotenv = require('dotenv') 2 | var dotenvEval = require('dotenv-eval') 3 | 4 | var myEnv = dotenv.config() 5 | dotenvEval.eval(myEnv) 6 | 7 | console.log(process.env) 8 | -------------------------------------------------------------------------------- /usage/dotenv-cypress-typescript/cypress/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "target": "es5", 4 | "lib": ["es5", "dom"], 5 | "types": ["cypress", "node"] 6 | }, 7 | "include": ["**/*.ts"] 8 | } 9 | -------------------------------------------------------------------------------- /dotenv-blog/2023-11-07/REAMDE.md: -------------------------------------------------------------------------------- 1 | Example code from the blog at [PHP dotenv is inconsistent across development and production](https://dotenv.org/blog/2023/11/07/phpdotenv-is-inconsistent-across-development-and-production) 2 | -------------------------------------------------------------------------------- /nuxtjs/edgio/plugins/edgio-devtools.client.ts: -------------------------------------------------------------------------------- 1 | import install from '@edgio/devtools/install' 2 | 3 | export default defineNuxtPlugin(nuxtApp => { 4 | nuxtApp.hook('app:mounted', () => { 5 | install() 6 | }) 7 | }) 8 | -------------------------------------------------------------------------------- /php/heroku/index.php: -------------------------------------------------------------------------------- 1 | safeLoad(); 7 | 8 | echo "Hello {$_ENV['HELLO']}"; 9 | -------------------------------------------------------------------------------- /quickstart/laravel-hello-world/storage/framework/.gitignore: -------------------------------------------------------------------------------- 1 | compiled.php 2 | config.php 3 | down 4 | events.scanned.php 5 | maintenance.php 6 | routes.php 7 | routes.scanned.php 8 | schedule-* 9 | services.json 10 | -------------------------------------------------------------------------------- /rails/heroku/test/application_system_test_case.rb: -------------------------------------------------------------------------------- 1 | require "test_helper" 2 | 3 | class ApplicationSystemTestCase < ActionDispatch::SystemTestCase 4 | driven_by :selenium, using: :chrome, screen_size: [1400, 1400] 5 | end 6 | -------------------------------------------------------------------------------- /rails/kamal/test/application_system_test_case.rb: -------------------------------------------------------------------------------- 1 | require "test_helper" 2 | 3 | class ApplicationSystemTestCase < ActionDispatch::SystemTestCase 4 | driven_by :selenium, using: :chrome, screen_size: [1400, 1400] 5 | end 6 | -------------------------------------------------------------------------------- /turborepo/vercel/packages/tsconfig/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "tsconfig", 3 | "version": "0.0.0", 4 | "private": true, 5 | "license": "MIT", 6 | "publishConfig": { 7 | "access": "public" 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /usage/dotenv-config-error/index.js: -------------------------------------------------------------------------------- 1 | require('dotenv').config({ debug: false }) 2 | 3 | console.log("hello", process.env.NAME) 4 | 5 | require('dotenv').config({ debug: true }) 6 | 7 | console.log("hello", process.env.NAME) 8 | -------------------------------------------------------------------------------- /usage/dotenv-cypress-typescript/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "devDependencies": { 3 | "cypress": "^12.13.0", 4 | "typescript": "^5.0.4" 5 | }, 6 | "dependencies": { 7 | "dotenv": "^16.1.3" 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /usage/dotenv-nestjs/src/app.service.ts: -------------------------------------------------------------------------------- 1 | import { Injectable } from '@nestjs/common'; 2 | 3 | @Injectable() 4 | export class AppService { 5 | getHello(): string { 6 | return `Hello, ${process.env.NAME}!`; 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /usage/dotenv-nodejs-debug/index.js: -------------------------------------------------------------------------------- 1 | require('dotenv').config({ debug: false }) 2 | 3 | console.log("hello", process.env.NAME) 4 | 5 | require('dotenv').config({ debug: true }) 6 | 7 | console.log("hello", process.env.NAME) 8 | -------------------------------------------------------------------------------- /usage/dotenv-react/README.md: -------------------------------------------------------------------------------- 1 | # examples/dotenv-react 2 | 3 | An example of using dotenv with react. 4 | 5 | ## USAGE 6 | 7 | ```bash 8 | npm install 9 | npm start 10 | // edit .env file to see changes 11 | ``` 12 | -------------------------------------------------------------------------------- /gatsby/gatsby-edge/src/pages/index.js: -------------------------------------------------------------------------------- 1 | import * as React from "react" 2 | 3 | const IndexPage = () => { 4 | return ( 5 |
Hello {process.env.GATSBY_HELLO}.
6 | ) 7 | } 8 | 9 | export default IndexPage 10 | -------------------------------------------------------------------------------- /nestjs/heroku/nest-cli.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://json.schemastore.org/nest-cli", 3 | "collection": "@nestjs/schematics", 4 | "sourceRoot": "src", 5 | "compilerOptions": { 6 | "deleteOutDir": true 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /nodejs/vercel/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | .vercel 3 | 4 | .env* 5 | .flaskenv* 6 | !.env.project 7 | !.env.vault 8 | 9 | # Added for example purposes only! You should not commit your .env file to code. 10 | !.env 11 | -------------------------------------------------------------------------------- /pm2/heroku/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "scripts": { 3 | "start": "pm2-runtime start ecosystem.config.js --env production" 4 | }, 5 | "dependencies": { 6 | "dotenv": "^16.3.1", 7 | "pm2": "^5.3.0" 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /rails/kamal/.env: -------------------------------------------------------------------------------- 1 | KAMAL_REGISTRY_PASSWORD=your-docker-registry-password 2 | RAILS_MASTER_KEY=0910c8030ec6c55ae954db3dee6b6187 3 | HELLO=World 4 | DOTENV_KEY="dotenv://:key_1234@dotenv.org/vault/.env.vault?environment=production" 5 | -------------------------------------------------------------------------------- /usage/dotenv-nodejs-json-escaped/.env: -------------------------------------------------------------------------------- 1 | CONFIG_JSON='{"fielda":"testvalue=","fieldb":false,"fieldc":null,"fieldd":{"nested":"true"}}' 2 | CONFIG_JSON=`{"fielda":"testvalue=","fieldb":false,"fieldc":null,"fieldd":{"nested":"true"}}` 3 | -------------------------------------------------------------------------------- /usage/dotenv-nodejs-override/README.md: -------------------------------------------------------------------------------- 1 | # examples/dotenv-nodejs-override 2 | 3 | Demonstrates using override feature with dotenv. 4 | 5 | ## Usage 6 | 7 | ``` 8 | npm install 9 | NAME=Scott node index.js 10 | ``` 11 | -------------------------------------------------------------------------------- /dotenv-blog/2023-10-28/secret.js: -------------------------------------------------------------------------------- 1 | var dotenv = require('dotenv') 2 | var dotenvExpand = require('dotenv-expand') 3 | var myEnv = dotenv.config() 4 | dotenvExpand.expand(myEnv) 5 | 6 | console.log(`The secret is ${process.env.SECRET}`) 7 | -------------------------------------------------------------------------------- /gatsby/gatsby-edge/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | .cache/ 3 | public 4 | 5 | .env* 6 | .flaskenv* 7 | !.env.project 8 | !.env.vault 9 | 10 | # for example purposes only. don't commit your real .env file to code. 11 | !.env 12 | -------------------------------------------------------------------------------- /nextjs/github-actions/pages/index.tsx: -------------------------------------------------------------------------------- 1 | import Link from 'next/link' 2 | 3 | export default function IndexPage() { 4 | return ( 5 |
6 | Hello {process.env.NEXT_PUBLIC_HELLO}. 7 |
8 | ) 9 | } 10 | -------------------------------------------------------------------------------- /nuxtjs/edgio/plugins/edgio-service-worker.client.ts: -------------------------------------------------------------------------------- 1 | import install from '@edgio/prefetch/window/install' 2 | 3 | export default defineNuxtPlugin(nuxtApp => { 4 | nuxtApp.hook('app:mounted', () => { 5 | install() 6 | }) 7 | }) 8 | -------------------------------------------------------------------------------- /quickstart/sinatra-hello-world/Gemfile: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | source "https://rubygems.org" 4 | 5 | # gem "rails" 6 | 7 | gem "sinatra", "~> 3.0" 8 | gem "puma", "~> 6.3" 9 | gem "dotenv-vault", "~> 0.10.1" 10 | -------------------------------------------------------------------------------- /usage/dotenv-custom-target/index.js: -------------------------------------------------------------------------------- 1 | const customTarget = {} 2 | 3 | require('dotenv').config({ processEnv: customTarget }) 4 | 5 | console.log('customTarget', customTarget.HELLO) 6 | console.log('process.env', process.env.HELLO) 7 | -------------------------------------------------------------------------------- /usage/dotenv-cypress-typescript/cypress/fixtures/example.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Using fixtures to represent data", 3 | "email": "hello@cypress.io", 4 | "body": "Fixtures are a great way to mock data for responses to routes" 5 | } 6 | -------------------------------------------------------------------------------- /usage/dotenv-nodejs-json/.env: -------------------------------------------------------------------------------- 1 | JSON=`{ 2 | "url": "http://USxkrn19jZhcEqYhoRY7u1nc:c8863538-30c3-47dd-8eb0-bc1110d861a2@tntjwgn6wiu.SANDBOX.verygoodproxy.com:8080", 3 | "cert": "-----BEGIN CERTIFICATE-----\nMIID2..." 4 | }` 5 | -------------------------------------------------------------------------------- /quickstart/flask-hello-world/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | .env* 3 | .flaskenv* 4 | !.env.project 5 | !.env.vault 6 | 7 | __pycache__ 8 | 9 | # for example purposes only. you should not be committing your real .env file to code 10 | !.env 11 | -------------------------------------------------------------------------------- /quickstart/php-hello-world/index.php: -------------------------------------------------------------------------------- 1 | safeLoad(); 7 | 8 | echo "Hello {$_ENV['HELLO']}"; 9 | -------------------------------------------------------------------------------- /rails/fly/app/javascript/controllers/hello_controller.js: -------------------------------------------------------------------------------- 1 | import { Controller } from "@hotwired/stimulus" 2 | 3 | export default class extends Controller { 4 | connect() { 5 | this.element.textContent = "Hello World!" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /rails/kamal/app/javascript/controllers/hello_controller.js: -------------------------------------------------------------------------------- 1 | import { Controller } from "@hotwired/stimulus" 2 | 3 | export default class extends Controller { 4 | connect() { 5 | this.element.textContent = "Hello World!" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /turborepo/vercel/apps/docs/app/page.tsx: -------------------------------------------------------------------------------- 1 | import { Button, Header } from "ui"; 2 | 3 | export default function Page() { 4 | return ( 5 | <> 6 |
7 |