Publite Frontend
Overview
Frontend for Publite service — E-Books reader
![]() |
![]() |
![]() |
Deploy
Dev environment setup:
npm i
# Run with watch
npm run dev
# Build to test prod
npm run build
npm exec serve -s build
Simple docker deployment
# build docker image
docker build . --build-arg PUBLIC_API_URL=<https://...> --build-arg PUBLIC_BASE_URL=<https://...> -t publite_frontend
# run it with docker
docker run -p <port>:8080 publite_frontend
Dokku deployment with image from Docker Hub
dokku apps:create publitefrontend
dokku git:from-image publitefrontend publite/frontend:latest
TODO
- Migrate pagination cache and book state from LocalStorage to IndexedDB
- Add menu with book view setting
- Optimize page spliting algorythm (rewrite it)
Description
v0.2.3
Latest
Languages
TypeScript
80.3%
CSS
11.3%
JavaScript
6.1%
HTML
1.4%
Dockerfile
0.9%