- Dev version: https://kovan.kickback.events
- Live version: https://kickback.events
Currently only frontend is open sourced. If you are working on the integration and need to connect to our backend, please contact Kickback team.
Clone the repo
git clone https://github.com/wearekickback/app.git
cd app
yarn
Add src/config/env.json
with the following information
{
"DEPLOYER_CONTRACT_ADDRESS": "0x9C7DbAe0A2EeF05D08E2e18Ff6173dFf7c5537eB",
"API_URL": "https://kovan.api.kickback.events",
"NUM_CONFIRMATIONS": 1,
"ENV": "kovan",
"DAI_CONTRACT_ADDRESS": "0x7d669a64deb8a4a51eea755bb0e19fd39ce25ae9"
}
yarn start
Test creating a event locally
- Go to http://localhost:3000/create
- Fill in event detail (leave password as blank)
- Fill in event detail and press "Submit"
Automated E2E tests with cypress (Not available to public)
Make sure the locally environment is up and running with local contract, ganache and server. When run ganache, run it with 500 accounts ganache-cli --accounts 500 -b 3
Run the seeding script to deploy some seed parties
$ yarn run seedParty
Creating admin profile
Deployed new party at address: 0x073c8E6c4653a150178D4Cdf501e455e55C26BA4
New rsvp 0x5656d12b67Cca4CF8d300a6d7f541bAb0965E443 at party 'Super duper'at address: 0x073c8E6c4653a150178D4Cdf501e455e55C26BA4
New rsvp 0xb37E1D697753Ee89D572d6Cf56DEfCDfb55236D5 at party 'Super duper'at address: 0x073c8E6c4653a150178D4Cdf501e455e55C26BA4
Admin account adm1547825705218 already exists
Deployed new party at address: 0xf4d12F3e5CA4D66C2196942135FDa78c8f3A90d1
New rsvp 0xb37E1D697753Ee89D572d6Cf56DEfCDfb55236D5 at party 'Super duper 2'at address: 0xf4d12F3e5CA4D66C2196942135FDa78c8f3A90d1
New rsvp 0x5656d12b67Cca4CF8d300a6d7f541bAb0965E443 at party 'Super duper 2'at address: 0xf4d12F3e5CA4D66C2196942135FDa78c8f3A90d1
Seeding parties complete!
Ready to run cypress tests
✨ Done in 14.11s.
NOTE: If the output does not show contract addresses, there is a possibility that the web3 version you are using may have a bug. If the bug is not fixed, try to manually change the web3 js code as described here
$ yarn run cypress:open
Seed script must be re-run to test again.