This demo uses:
- ReactJs
- NodeJs
- MySQL
- PHPMyAdmin
- Tailwind CSS
- Solidity
- EthersJs
- Hardhat
- Docker
To run the demo follow these steps:
-
Clone the project with the code below.
git clone https://github.com/Daltonic/dockerized_web3_project_example dockerized_web3_project
-
In the root directory, create a
.env
file and paste the codes below in it. -
Update the
.env
file with the following details.MYSQL_DATABASE=<Your Database Name Here> MYSQL_USER=<Your User Name Here> MYSQL_PASSWORD=<Your Password Name Here> MYSQL_ROOT_PASSWORD=<Your Root/Admin Password Name Here>
-
Run
docker-compose up
to launch the services. -
Run
docker-compose down
to end the services. -
Visit http://localhost:8080/ and import the
monsternft.sql
file into yourmonsternft
database. -
Interact with the frontend from http://localhost:3000/ and the backend at http://localhost:9000/.
Questions about running the demo? Open an issue. We're here to help ✌️