GithubHelp home page GithubHelp logo

riksa011 / start2impact-django-redis-project Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 5.72 MB

SecondChance, a website that allows customers of a second-hand clothing marketplace to track the history of an item through the Ethereum blockchain.

Python 68.82% HTML 31.18%
django ethereum python redis web3 start2impact

start2impact-django-redis-project's Introduction

Start2Impact Django & Redis Project

SecondChance logo

This is my Django Redis project for Start2Impact.

The main purpose of this project is to combine Django, Redis, and the Ethereum Goerli testnet blockchain to build a website that allows customers of a second-hand clothing marketplace to track the history of an item through the blockchain.

SecondChance is a Proof of Concept, an exercise focused on determining if an idea can be turned into a reality or not. For this reason, it covers only the item transaction on-chain proof and should be connected to an online marketplace to be used in a real situation.
If implemented correctly together with a second-hand marketplace, SecondChance could lead to several advantages such as enhanced transparency, increased trust between buyers and sellers, and a more sustainable fashion industry.


πŸ“–Index


πŸš€ Main Features:

  • A website homepage with a brief explanation of the project

HOMEPAGE - IMAGE 1



  • A section where administrators can create a new account and log into the platform

ADMIN AUTHENTICATION DROPDOWN - IMAGE 2 ADMIN REGISTER - IMAGE 3 ADMIN LOGIN - IMAGE 4 ADMIN PROFILE - IMAGE 5



  • A page where administrators only can upload a new clothing item

ADMIN ACTIONS DROPDOWN - IMAGE 6 AUTHENTICATION ERROR: MUST BE LOGGED AS ADMIN - IMAGE 7 ITEM UPLOAD - IMAGE 8 ITEM UPLOADED SUCCESSFULLY - IMAGE 9



  • A page where anyone can see all the items uploaded on the website and their leading information

USER ACTIONS DROPDOWN - IMAGE 10 UPLOADED ITEMS - IMAGE 11



  • A page where anyone can enter an ID code of a specific item and see its past transactions provided with the blockchain proof

SEARCH ITEM - IMAGE 12 ITEM INFO - IMAGE 13 ON-CHAIN PROOF - IMAGE 14



  • A page where administrators can change an item's owner

CHANGE ITEM OWNER - IMAGE 15 OWNER CHANGED SUCCESSFULLY - IMAGE 16 ITEM INFO - IMAGE 17 ON-CHAIN PROOF - IMAGE 18



  • A function that alerts administrators when logging into the platform with a different IP address

WARNING: YOUR CURRENT IP ADDRESS IS DIFFERENT FROM THE LAST ONE - IMAGE 19



  • The ability to adapt the website page and content to different types of devices to allow users to have always the best experience

WEBSITE ADAPTATION EXAMPLE - IMAGE 20


πŸ› οΈ How to deploy

  • Download the repository file
  • Be sure to have Python installed on your device, for this project i used Python 3.10.6.
  • Be sure to have a Python IDE on board (I recommend PyCharm).
  • Open the program file in your IDE and create a virtual environment.
  • Install program requirements by typing pip install -r requirements.txt in a new terminal window.
  • Update the program database by typing cd Progetto, python3 manage.py makemigrations and python3 manage.py migrate.
  • Run the program by typing python3 manage.py runserver.
  • Check that Redis is correctly working by typing redis-cli ping in a new terminal window: if the response is something like PONG, you're ready to enjoy SeconChance, just open http://127.0.0.1:8000/ in your browser.
  • Otherwise, if the response looks something different from PONG, most times it's because Redis just didn't start automatically so do it manually by typing redis-server.

πŸ“ˆ Improved Skills

Python, Django, Redis, Etherum Goerli Testnet, HTML and Boostrap CSS


πŸ‘¨β€πŸ’» About me

linkedin

start2impact-django-redis-project's People

Contributors

riksa011 avatar

Watchers

 avatar  avatar

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.