This is Web3BnB, a Hardhat/Solidity/Web3 project for the ETHDenver x EncodeClub bootcamp.
It's a Booking Marketplace.
- NFT Collection mapped to Listing Database w/ metadata around Dates
- NFT Fields: Location, Listening Owner (minter), Date (1-365)
- Calendar Booking
- Select Dates
- Mint/Book
- Refunds (STRETCH)
- Create Listing
- Image
- Address
- Beds?
- Other Amenities
- Available Dates
- Door Code? (STRETCH)
- Retrieve by City
- Print listings by city
run these back-end commands in the project root before running front-end
npx hardhat compilenpx hardhat nodenpx hardhat run --network localhost scripts/deploy.js
running the above ^ will make sure your front_end/src/contracts/ is populated with the files it needs so now...
4. if you wish, cd into front_end and run this to use the front-end: 1) npm i 2) npm run start 3) visit in browser localhost:3000
To run locally on your machine:
npx hardhat node
Try running some of the following tasks:
npx hardhat help
npx hardhat test
REPORT_GAS=true npx hardhat test
npx hardhat node
npx hardhat run scripts/deploy.jsPlease see /front_end for more information