Backend for Meme Finder written in Rust
environment:
MEILI_URL: https://meilisearch:7700 # url of meilisearch database
MEILI_MASTER_KEY: key # meilisearch api key
CORS_ORIGIN: https://memefinder.ru # additional allowed cors origin
IMAGES_DIR: /data/images # directory for persistance image storage
If you have docker-compose installed, you can start meilisearch by 1 command:
docker-compose up -d
# search images
curl 'https://memefinder.ru/api/images?q=amogus&limit=30'
# remove image
curl -X DELETE 'https://memefinder.ru/api/images/14bcdf8f-edf7-4bdf-8f9f-1e6a248d9737'
- Rust 🚀 - fast memory safe programming language
- MeiliSearch 🔎 - main text search database
- Actix Web 🌐 - rust web server framework
- Image-rs 🌄 - rust image library