https://github.com/bezkoder/drag-drop-file-upload-react-hooks
Drag and Drop File Upload with React Hooks, axios, bootstrap and react-dropzone
https://github.com/bezkoder/drag-drop-file-upload-react-hooks
axios bootstrap bootstrap4 drag-and-drop dropzone file-upload hooks react react-dropzone react-hooks reactjs
Last synced: 11 months ago
JSON representation
Drag and Drop File Upload with React Hooks, axios, bootstrap and react-dropzone
- Host: GitHub
- URL: https://github.com/bezkoder/drag-drop-file-upload-react-hooks
- Owner: bezkoder
- Created: 2021-09-17T05:11:22.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-09-17T05:12:45.000Z (over 4 years ago)
- Last Synced: 2025-03-28T10:47:37.620Z (11 months ago)
- Topics: axios, bootstrap, bootstrap4, drag-and-drop, dropzone, file-upload, hooks, react, react-dropzone, react-hooks, reactjs
- Language: JavaScript
- Homepage:
- Size: 224 KB
- Stars: 8
- Watchers: 4
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Drag and Drop File Upload using React Hooks example with Axios & Boostrap

For more detail, please visit:
> [Drag and Drop File Upload using React Hooks example](https://www.bezkoder.com/drag-drop-file-upload-react-hooks/)
Related Posts:
> [React (Components) Drag and Drop File Upload example](https://www.bezkoder.com/react-drag-drop-file-upload/)
> [React Hooks Multiple File Upload example](https://www.bezkoder.com/react-hooks-multiple-file-upload/)
Rest APIs server for this React Client:
> [Node Express File Upload Rest API example](https://www.bezkoder.com/node-js-express-file-upload/)
> [Node Express File Upload with Google Cloud Storage example](https://www.bezkoder.com/google-cloud-storage-nodejs-upload-file/)
> [Spring Boot Multipart File upload example](https://www.bezkoder.com/spring-boot-file-upload/)
More Practice:
> [React CRUD example using Hooks](https://www.bezkoder.com/react-hooks-crud-axios-api/)
> [React Pagination using Hooks example](https://www.bezkoder.com/react-pagination-hooks/)
> [React Hooks: JWT Authentication & Authorization example](https://www.bezkoder.com/react-hooks-jwt-auth/)
> [React + Redux + Hooks: JWT Authentication & Authorization example](https://www.bezkoder.com/react-hooks-redux-login-registration-example/)
Fullstack with Node Express:
> [React + Node Express + MySQL](https://www.bezkoder.com/react-node-express-mysql/)
> [React + Node Express + PostgreSQL](https://www.bezkoder.com/react-node-express-postgresql/)
> [React + Node Express + MongoDB](https://www.bezkoder.com/react-node-express-mongodb-mern-stack/)
Fullstack with Spring Boot:
> [React + Spring Boot + MySQL](https://www.bezkoder.com/react-spring-boot-crud/)
> [React + Spring Boot + PostgreSQL](https://www.bezkoder.com/spring-boot-react-postgresql/)
> [React + Spring Boot + MongoDB](https://www.bezkoder.com/react-spring-boot-mongodb/)
Fullstack with Django:
> [React Hooks + Django Rest Framework](https://www.bezkoder.com/django-react-hooks/)
Integration (run back-end & front-end on same server/port)
> [Integrate React with Spring Boot](https://www.bezkoder.com/integrate-reactjs-spring-boot/)
> [Integrate React with Node Express](https://www.bezkoder.com/integrate-react-express-same-server-port/)
Serverless:
> [React Hooks Firebase CRUD App with Realtime Database](https://www.bezkoder.com/react-firebase-hooks-crud/)
> [React Hooks Firestore CRUD App example | Firebase Cloud Firestore](https://www.bezkoder.com/react-hooks-firestore/)
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
### Set port
.env
```
PORT=8081
```
## Project setup
In the project directory, you can run:
```
npm install
# or
yarn install
```
or
### Compiles and hot-reloads for development
```
npm start
# or
yarn start
```
Open [http://localhost:8081](http://localhost:8081) to view it in the browser.
The page will reload if you make edits.