This is a simple nextjs component that allows you to drag and drop or select files for upload. Implimented using the native HTML5 drag and drop API, JS FileReader API and browser Fetch API, no external libraries used.
- Clone the repository
- cd into the directory and run :
npm install
npm run dev
Open http://localhost:3000 with your browser to interat with the app.