Repository for SharePay DApp.
This is the root of the project.
Backend
Frontend
Instructions on how to get the project up and running on a local machine for development and testing purposes.
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
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.
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 can be found on this root (FinalReport.pdf)