pdftron / pdftron-document-search Goto Github PK
View Code? Open in Web Editor NEWBuild search across multiple documents client-side in your file storage
License: Other
Build search across multiple documents client-side in your file storage
License: Other
@andreysaf I followed your tutorial exactly, with the only differences being (1) I enabled both the Firestore Database and the Realtime Database in Firebase (I believe these are new sections in the Build menu that did not exist when you wrote the tutorial) and (2) I added all the variables you listed to one .env
file, since I couldn't create two files with the same name in the root of the directory. I am able to start the app with npm start
, and then I am able to register an email and password (they show in Firebase under Authentication), but when I click "Sign in" nothing happens. Do you know what may be the issue? I primarily work in Python, so I may have missed something that needs to be done in Node.js to make the app function. Thank you for any help you can provide!
Terminal output after npm start
:
Compiled with warnings.
./src/components/Search/Search.js
Line 12:56: 'Image' is defined but never used no-unused-vars
./src/components/Upload/Upload.js
Line 1:17: 'useState' is defined but never used no-unused-vars
Line 2:23: 'useDispatch' is defined but never used no-unused-vars
Line 3:10: 'Link' is defined but never used no-unused-vars
Line 67:6: React Hook useEffect has missing dependencies: 'index' and 'uid'. Either include them or remove the dependency array react-hooks/exhaustive-deps
./src/components/Navigate/Navigate.js
Line 2:10: 'Router' is defined but never used no-unused-vars
./src/App.js
Line 32:6: React Hook useEffect has a missing dependency: 'dispatch'. Either include it or remove the dependency array. Outer scope values like 'auth' aren't valid dependencies because mutating them doesn't re-render the component react-hooks/exhaustive-deps
./src/components/View/View.js
Line 62:6: React Hook useEffect has missing dependencies: 'docRef', 'pageNumber', and 'searchTerm'. Either include them or remove the dependency array react-hooks/exhaustive-deps
Search for the keywords to learn more about each warning.
To ignore, add // eslint-disable-next-line to the line before.
It would be nice if it worked but the upload button does not work does not load the pdf and therefore does not search for anything. Even the login with registration does not work if you enter your email and password and user and create it. It would be nice if the pdf read them from a remote folder on the server not only on fiebase.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.