Code Monkey home page Code Monkey logo

gh-books-project's Introduction

Book Reader and Book Manager

note: project has been redone as three seperate projects, home_book_api (django rest framework), home_book_viewer (quasar framework) and home_book_server (apache/php)

Website to read epub and pdf ebooks from a web browser without having to download the ebook to the device. So you can read on what ever you are using at the moment, PC , laptop, tablet, phone, etc.

Django project that contains three apps.

  1. bookapi - a REST api that provides CRUD functions using django rest framework.
  2. bookmanager - app to upload, update and delete book files and associated info.
  3. bookselection - app that lets a user view the books they have uploaded and select one to read.

The django project also uses djangos built in auth / user system to provide a login to keep each users books seperate.
Vue.js is used to make the book manager and selection pages dynamic and user friendly.

The project has been dockerized.

The docker compose file sets up three services to create the deployed web app.

services
web: container that hosts the django based website
db: a postgres database container
web-viewer: an nginx container that serves the ebooks to read using javascript ebook libraries
bookVol: a shared volume between the web and web-viewer containers to store the uploaded ebooks in the django media location and have them served by the nginx web server.

To run the web app simply run docker-compose up in the cloned directory.

Note: a .env file must be created in the main directory and the django projects directory to supply needed environment variable values. Rename docker.env and django.env files and fill in the required info in each.

gh-books-project's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.