A simple react application that uploads and view PDF files in browsers, built with React-PDF-Viewer. If you find this outdated then you can check this updated repo https://github.com/HamzaAnwar1998/View-PDF-Files-in-React-Apps-2022
- React
- React-PDF-Viewer
- View PDF Files from Firebase Storage in React: https://github.com/HamzaAnwar1998/View-PDF-Files-from-Firebase-Storage-in-React
-
Clone this repo https://github.com/HamzaAnwar1998/Upload-View-Pdf-In-Reactjs.git
git clone https://github.com/HamzaAnwar1998/Upload-View-Pdf-In-Reactjs.git
-
On the comandline, at the project's root, run
npm install
to install app dependencies -
Next, run
npm start
which will run the app in the development mode. -
Open http://localhost:3000 to view it in the browser.
-
ALTERNATIVELY
-
Just run
npm run build
which will build the project and generate output files into thebuild
directory. -
Go to
build
directory and manually openindex.html
to interact with the app
-
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/newFeature
) - Commit your Changes (
git commit -m 'Add some newFeature'
) - Push to the Branch (
git push -u origin feature/newFeature
) - Open a Pull Request
👤 Hamza Anwar
- GitHub: @HamzaAnwar1998
- LinkedIn: @Hamza Anwar
Give a ⭐️ if you like this project!