Skip to content

Instantly share code, notes, and snippets.

View OskarOyo's full-sized avatar

Oskar Lindgren OskarOyo

  • Oyo Japan
  • Yokohama
View GitHub Profile
@OskarOyo
OskarOyo / env-examples.md
Last active September 6, 2021 04:59 — forked from ericelliott/env-examples.md
env-examples

Instead of using dotenv or similar libraries. You can just source the .env file on startup.

It's easy to add scripts via npm, so you can source the appropriate env file by running commands:

In your package.json:

scripts: {
  "start-dev": "source dev.env; node server.js"
  "start-prod": "source prod.env; node server.js"

}

@OskarOyo
OskarOyo / ConventionalCommitsEmoji.md
Created August 24, 2021 07:25 — forked from parmentf/ConventionalCommitsEmoji.md
Emoji for Conventional Commits
Type Emoji code
feat :sparkles:
fix 🐛 :bug:
docs 📚 :books:
style 💎 :gem:
refactor 🔨 :hammer:
perf 🚀 :rocket:
test 🚨 :rotating_light:
build 📦 :package: