Skip to content

Instantly share code, notes, and snippets.

@nammaianh
Created August 31, 2016 05:19
Show Gist options
  • Save nammaianh/46d3dfb39475ad4e60149a151a5c1ae3 to your computer and use it in GitHub Desktop.
Save nammaianh/46d3dfb39475ad4e60149a151a5c1ae3 to your computer and use it in GitHub Desktop.
.gitignore for LoopBack + environment config
NODE_ENV=development
*.csv
*.dat
*.iml
*.log
*.out
*.pid
*.seed
*.sublime-*
*.swo
*.swp
*.tgz
*.xml
.DS_Store
.idea
.project
.strong-pm
coverage
node_modules
npm-debug.log
.env
server/component-config.*.js
server/component-config.*.json
server/config.*.js
server/config.*.json
server/datasources.*.js
server/datasources.*.json
server/middleware.*.js
server/middleware.*.json
server/model-config.*.js
server/model-config.*.json
let env = require("node-env-file")
env(".env", {
verbose: true,
overwrite: true,
raise: false,
logger: console
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment