Last active
August 5, 2021 16:08
-
-
Save conoro/262f91463c153273f034f927b2b7640e to your computer and use it in GitHub Desktop.
Using GIST as a simple JSON DB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"color": "red", | |
"value": "#f00" | |
}, | |
{ | |
"color": "green", | |
"value": "#0f0" | |
}, | |
{ | |
"color": "blue", | |
"value": "#00f" | |
}, | |
{ | |
"color": "cyan", | |
"value": "#0ff" | |
}, | |
{ | |
"color": "magenta", | |
"value": "#f0f" | |
}, | |
{ | |
"color": "yellow", | |
"value": "#ff0" | |
}, | |
{ | |
"color": "black", | |
"value": "#000" | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Access with correct headers via https://gistcdn.githack.com/conoro/262f91463c153273f034f927b2b7640e/raw/92bb9c586dc71b17d154a89c4418a9ef51edc15e/exampledb.json
So a mostly read-on JSON source that I can hand-edit in GitHub and access remotely elsewhere. Handy.