An open API service indexing awesome lists of open source software.

https://github.com/alphahydrae/qimg

A quick-and-dirty image upload API
https://github.com/alphahydrae/qimg

Last synced: 3 months ago
JSON representation

A quick-and-dirty image upload API

Awesome Lists containing this project

README

          

# qimg

## Environment Variables

* **NODE_ENV**: Environment (defaults to `development`).
* **PORT**: Port to listen to (defaults to `3000`).
* **DATABASE_URL**: PostgreSQL connection URL (defaults to `postgres://localhost/qimg`).
* **QIMG_URL**: Base URL (defaults to `http://localhost:$PORT`).
* **QIMG_ADMIN_TOKEN**: Administrator authentication token (defaults to `admin` in development, **required** in production).
* **QIMG_IMAGE_QUOTA**: Number of images kept for each user (default to 10).