Welcome to the Meme API, the pinnacle of modern software engineering. Ever wanted to stream memes via HTTP? Of course you have. Who needs productivity when you can have memes?
/— Redirects you to a video. Is it useful? No. Is it fun? Maybe./health— Because every API needs to pretend it's healthy./meme— Get a random meme. Because your day wasn't already wasted./meme/{subreddit}— Specify a subreddit. Because you have very specific meme needs.
go build -o meme-api ./cmd/meme-api/main.go
./meme-apiRuns on port 3000. Why? Because we said so.
docker build -t meme-api .
docker run -p 8080:8080 meme-apiOr, if you want to feel fancy:
docker-compose up --buildMIT. Because why not?
Special thanks (or blame) to D3vd/Meme_Api for making memeapi possible. Without it, this project would just be a sad, meme-less void.
This API will not improve your life, but it might make you laugh. Or cry. Or both.