redis/csv/in memory quote database with an expressive REST API.
npm start
docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 -t <username>/<image-name>:<tag> --push .
Response - HTTP 200
{
"total": 1,
"id": 1,
"quote": "<Chuck> guys, I know kung fu"
}
Response - HTTP 200
{
"total": 2,
"quote": "<Reese> geez, try not to die <Fusco> yeah i love you too"
}
Response - HTTP 200
{
"quote": "<piehdd> thats stupid <frw> so's your face man"
}
Response - HTTP 200
{
"nickname": "Ferdi",
"timestamp": "2016-09-23T14:55:00.000Z",
"channel": "#support"
}
Request
{
"nickname": "kate",
"channel": "#lostandfound",
"mask": "[email protected]",
"quote": "<jack_ass> we have to go back"
}
Response - HTTP 200
{
"id": "3"
}
Request
{
"quote": "<jack_ass> we have to go back... <jack_ass> back to the future!",
"update_by": "Emmett Brown"
}
Response - HTTP 200
{
"success": true
}
Response - HTTP 200
{
"success": true
}