This is a nice e-book reader base on epub.js
React
support both PC and mobile.
The whole reader system with 3 part, React front end application, JAVA backend services with mysql database and a python search engine.
-
Reader Frontend Page React base front end application
-
Java Reader Backend Services We use Spring Boot and MySQL
-
Reader Search Engine Python whoosh
** It's a e-book reader only for EPUB now, we may support other format of ebook later **
To install and start
$ npm install
$ npm start
Then go to http://localhost:8989?r={bid:5,probation:100,uid:1}
At this point, we need start backend server which run in port 9898.
- bid: book id in database.
- probation: How long user can read this book(For user which not pay).
- uid: User's union id.
And this json parameter r
can be encryption by DES
(Data Encryption Standard) When it's encrypted, it will looks like:
http://localhost:8989?r=2a6d47860742100b969b22a33273f91a38bcfa0ed8370d6d3a087fa090b88ae0
To build production model:
npm run build
MIT