# Start Development

### Step-by-Step Guide

#### 1. Clone the Repository

First, clone the Crypitor repository from GitHub.

```bash
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.

```bash
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.

```toml
# update your ETH_PROVIDER_URL
ETH_PROVIDER_URL=https://mainnet.infura.io/v3/yourkey
```

#### 4. Start the Application

Start dependencies container&#x20;

```bash
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`


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.crypitor.com/crypitor-service/self-hosted/start-development.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
