A simple JavaScript app that demonstrates how to upload media to the WP Media Library using the WP REST API
This application contains two parts - frontend app and a custom WP Plugin for customizing REST fields. The Basic Auth plugin is also used for authentication.
Visit the blog post for more detailed information.