testnet faucet for exzo
![image](https://private-user-images.githubusercontent.com/139626898/280492962-1f8e6d4c-fb10-4065-954b-61c49faed74a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQzNDcwMTYsIm5iZiI6MTcyNDM0NjcxNiwicGF0aCI6Ii8xMzk2MjY4OTgvMjgwNDkyOTYyLTFmOGU2ZDRjLWZiMTAtNDA2NS05NTRiLTYxYzQ5ZmFlZDc0YS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODIyJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyMlQxNzExNTZaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT04NjRhYjM5YWMyYTAzZjU5YWMyOTU0MDIzODU2NDYzYjgzZWQ4NTUwNGY0MDg4MDE2ZWNhZjVjNDVmMTg3NWFlJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.qnP2TIWlKm4UbH_bCobszZ1xeyTVAWNxHNIzFXPd364)
Run the following commands
git clone https://github.com/Exzo-Network/Testnet-Faucet faucet
cd faucet
yarn install:client
yarn install:server
now create a .env file by writing the following commands
cd server
cp .env.sample .env
now update the .env variables run it locally
yarn dev:server
now open a new terminal and run
yarn dev:client
this will run the client and server server at 3000 port and client at 5713 now go to localhost:5713
For deployment, first you need to deploy the server , you can do it just like we do any nodejs application
And for client , you need to replace one url before deployment of client,there is a variable in app.jsx file which is FAUCET_ENDPOINT, you need to put the deployed url of server there.
After updating the url just go to cd client and run yarn build , it will build the files deploy it