Basic MongoDB + Express Image Uploader for ShareX
This is only an example for how to setup a ShareX Uploader in Node. I have made it so that the code can easily be transferred for use in larger projects/websites. I would also recommend using a more advanced authentication method, but this one works well enough for development/testing.
# install dependencies
$ npm install
# copy .env file
$ cp .env.example .env
# start server
$ npm start
1. Enter server URL into ShareX URL field
# By default, this is http://127.0.0.1/api/image
2. Set authentication key in headers
# By default, this is "ca03849frhyw98ptrphajat8op9sd"
3. Set File form name to "image"
4. Test
Learn more about ShareX Custom Image Uploaders at the ShareX Website.