Built with Next.js
This is just a very simple component for uploading one file, as the intention was to create a barebones component with room for add-ons. The goal here also is to not use additional packages and libraries.
- Clone the repo
- Run
npm
to install the project dependencies - Run
npm run dev
to start the project.
Reference: https://www.smashingmagazine.com/2020/02/html-drag-drop-api-react/