Image uploader Api written in Node.js and PHP. By watching the upload directory, the JavaScript Code also creates a webpage for every image uploaded.
You need to run this on a web server like NGNIX in your var/www/your.domain directory.
Since program is written in Node.js you need to have Node.js installed.
Installing chokidar in your terminal:
npm i chokidarRunning the Node.js handler:
cd api
node handler.jsYour uploader should be available at your.domain/upload/upload.php.
Webpages should be created at var/www/your.domain/users/username/filename/filename as a HTML file.