summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDJ O'Leary <dijitol@proton.me>2026-09-03 02:34:02 +0200
committerDJ O'Leary <dijitol@proton.me>2026-09-03 02:34:02 +0200
commit707c4ea13057f7dc3f5dfa3ae9add4171a56beae (patch)
treee951f9784cbd7ffa4019a6f9bc50302c78fe7fc8
parent677695c8c3e0d68759c43174e42761bca6d0a1a3 (diff)
chore(dotenv): add dotenv
-rw-r--r--.env.template9
-rw-r--r--.envrc4
-rw-r--r--.gitignore3
3 files changed, 15 insertions, 1 deletions
diff --git a/.env.template b/.env.template
new file mode 100644
index 0000000..1ee462f
--- /dev/null
+++ b/.env.template
@@ -0,0 +1,9 @@
+# Cardmarket API
+CM_APP_TOKEN=
+CM_APP_SECRET=
+CM_ACCESS_TOKEN=
+CM_ACCESS_TOKEN_SECRET=
+CM_API_BASE_URL=https://apiv2.cardmarket.com/ws/v2.0/output.json
+
+# Application
+APP_LOG_LEVEL=INFO
diff --git a/.envrc b/.envrc
index 8392d15..cf8df4b 100644
--- a/.envrc
+++ b/.envrc
@@ -1 +1,3 @@
-use flake \ No newline at end of file
+dotenv
+
+use flake
diff --git a/.gitignore b/.gitignore
index f5adaf3..c1ac64d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,8 @@
# Nix
result*
+# Secret
+.env
+
# Misc
.direnv