Skip to content

poddarswakhar/SharePay_Web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SharePay_Web

Repository for SharePay DApp.

Project Structure

This is the root of the project.

  • backend: contains the backend code, solidity code and the SQL Database
  • frontend: contains the frontend code for react framework
  • FinalReport.pdf: The report for the project according to the guidelines on the syllabus
  • PresentationSlides.pdf: The slides used for the presentation
  • Demo Video Link: https://youtu.be/EjDmkX4-83E


  • Technologies Used

  • Django
  • React
  • Web3
  • Infura
  • Eth Network
  • Solidity


  • Dependencies

    Backend

  • Python 3 Setup
  • PIP
  • Django
  • Django Rest Framework
  • Django Cors Headers
  • Web3
  • Solcx


  • Frontend
  • NodeJS
  • Bootstrap
  • Reactstrap
  • Axios


  • Getting Started

    Instructions on how to get the project up and running on a local machine for development and testing purposes.

    Prerequisites & Installing

    Make sure all the Dependencies are installed. Use pip or npm to install those dependencies. For front end dependencies install them on the frontend root of the repo. Or if NodeJS and NPM is installed, you can do like the following example:

    cd frontend
    npm install
    

    For Backend these commands might come handy

    pip install django djangorestframework django-cors-headers
    pip install web3
    pip install py-solc-x
    

    Running

    Once all the Prerequisites are done installing now we should be ready to run the webapp. First we will start the backend (make sure backend server runs at at port 8000)

    cd backend
    python manage.py runserver
    

    Note: By any chance if shows migration error run this lines before

    python manage.py makemigrations
    python manage.py migrate
    

    Now lets start the front end at a different port

    cd frontend
    npm start
    

    The project should be running with all the features, if any support is needed to get it started please do contact me at spoddar@student.ubc.ca or open an issue on the repo.

    Note

    For testing or using the product its recommended to use the Sepolia test network, and use the faucet to get some test ETH (https://sepoliafaucet.com/)

    Final Report

    Final report can be found on this root (FinalReport.pdf)

    About

    No description, website, or topics provided.

    Resources

    Stars

    Watchers

    Forks

    Releases

    No releases published

    Packages

    No packages published

    Contributors 3

    •  
    •  
    •