MullaAhmed / PyEarnX

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PyEarnX

This repository is python based backend for EarnX, a web3-based video-sharing platform that makes it easy to watch online videos and earn from them. You can even create projects and upload your own videos to the projects. Based on the views, votes, and likes the creator will receive web3 tokens as a reward. It includes a battery system that restricts users from watching a certain number of videos daily. The battery points vary based on the membership status.

Getting started

Get the code either down the zip file or use git.

git clone https://github.com/MullaAhmed/PyEarnX.git

Move into the folder

cd PyEarnX

Use the package manager pip to install dependencies.

pip install -r requirements.txt

Usage

To run it on your local server

python manage.py runserver

API Testing

Click here for the documentation of the postman collection of all the APIs.
This is the JSON link for the collection: https://www.getpostman.com/collections/e3454fa7c7ee68f35a34

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

About


Languages

Language:Python 99.9%Language:Procfile 0.1%