Simple development of a certificate creation system with a blockchain-based verification.
The project consists of a simple web application that allows administrators to create and assign digital training certificates to students. Every time a certificate is assigned, a transaction is sent on Ethereum with all the certificate and student information. Students can then enter the certificate code to view the associated information and corresponding transaction.
Additionally, the system stores the last IP address that accessed the platform for each administrator user and displays a warning if access is detected from a different IP address than the previous one.
- A page accessible only to administrators, where it is possible to assign a digital certificate to a student.
- A page that anyone can access and enter the identification code of a degree certificate to view all associated information and the transaction.
ATTENTION! Before searching for a certificate, you must assign it to a student.
- A logging system to store the last IP address of an administrator who accessed the platform, in order to display a warning message when it is different from the previous one.
- Clone the repo
git clone https://github.com/Priotts/Django-Project.git
- Make database migrations
py .\manage.py makemigrations
py .\manage.py migrate
- Create administrator user
py .\manage.py createsuperuser
-
Add your API, wallet and private key to the utilis.py file in the 'certificates' app
-
Install the redis server (it will be used for ip control)
sudo service redis-server start
- start your server
python manage.py runserver
- type your address into your browser