Start Development
Step-by-Step Guide
1. Clone the Repository
First, clone the Crypitor repository from GitHub.
git clone https://github.com/crypitor/blockchain-webhook
2. Navigate to the app Directory
Change your directory to the app/
folder within the cloned repository.
cd blockchain-webhook/app/
3. Update Environment Variables
Copy the sample environment file .env.sample
to .env
and update it with your specific configuration.
cp .env.sample .env
Open the .env
file in your preferred text editor and update the necessary variables. This file contains configuration settings that are crucial for running the application.
# update your ETH_PROVIDER_URL
ETH_PROVIDER_URL=https://mainnet.infura.io/v3/yourkey
4. Start the Application
Start dependencies container
make up-deps
This command will start the dependencies Docker images, including Kafka, MongoDB, Postgres, Webhook-services
Start application:
# install node_module
yarn install
# start api
yarn start:dev api
# start worker-service
yarn start:dev worker-service
# start monitor-service
yarn start:dev monitor-service
Access api service through localhost:3000
Last updated
Was this helpful?