File upload from a Nuxt.js client to an AdonisJS RESTful API server using axios
Preamble AdonisJs documentation shows how to upload files to the server using the HTML5 <form> element. But there are cases where axios comes more handy. So let us see how to upload files from a Nuxt.js client application to an AdonisJS RESTful API server with axios. I shared this project on my Github profile.
Project setup In my demo, the client and server code are set apart. My client application is handled by Nuxt.
[Read More]