Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
January 16, 2022 07:26 pm GMT

How I made an Online E-book store and reader

Introduction

First of all, I am a full stack web developer working as a freelancer. I have done many projects with Django for many of my clients, but recently I thought about initiating a startup. Many ideas came up among my friends and we decided to start working on some of them.

One of the ideas was to build an online e-book store for monthly subscription. I didn't think about any copy-right issues and competitors. We found some pdfs of famous books and I just started developing. Yeah, I am the one and only developer among my friends. I have to develop it myself. They ask me about the updates everyday.

Problems to solve

I have seen many e-book readers like Kindle, Google books, Wattpad and so on. But I always wondered about how they manage to deliver each page to users without any chance to steal their book. I tried inspecting many web apps and found no loopholes. At last, Made an API to request each page of the book to server and return page as base64 image.

But still the problem exists. The users can download the image of the page. Surfed around the internet. I found some other guys who asks the same questions - "How to protect images from being downloaded?"

Some of them said to disable right clicking and downloading using JavaScript. Others said to provide image as a background URL. And many of them said to print it in canvas. Still, an advanced user can download the image easily. Putting watermark on them was another solution. But it's about reading. Watermark affects reading.

This problem still exists and I am seeking for the answer currently.

The Web App

We all learn CRUD functionalities when we research about backend development. So, making a book store wasn't a great challenge. The main steps in the development were:

  • Books

  • Authors

  • Categories

  • Authors

Book objects have their Review object and they related with Categories and Authors. Every user has Follow, Library, BookRead objects. Users can follow authors, read books when the page will be stored for another opening. They can add books to their library. Books can be listed according to Categories, Authors.
I also implemented a search functionality.

Payment

At last, applied on Razorpay, bought domain and vps deployed project as publiso.in. I developed subscription system on deployment. Every user has to pay 99 Indian Rupees to get a 30 days subscription. That's mandatory to read any book.

Better luck next time

I was happy completing this project and waited for users to register here. Even spent 650 Rupees in google ads which resulted 144 clicks and nothing. No-one made an account and no penny credited to our account.

I realized that all books we have is available in the internet for free. So, there is no meaning to sell them for money. It's better to deliver them free and people will enjoy it.

Removed all subscription and payments stuff. Made it totally free.

Github

I published the project on GitHub and you guys are welcome to test the code.

Leave your feedback as comments.
Can we develop this into a big project ?
Anyone interested to contribute ?


Original Link: https://dev.to/pulimoodan/how-i-made-an-online-e-book-store-and-reader-53h2

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To