# Telelink  Voicebot

## Prerequisites
- Node.js version 20+

## Setup Instructions
1. **Clone the Repository**
   ```bash
   git clone https://github.com/estontec/Australia_telilink_frontend.git
   ```

2. **Install Dependencies**
   ```bash
   npm install
   ```

3. **Configure Environment Variables**
   ```bash
   cp .env.sample .env
   ```
   - Edit the `.env` file and add your API keys.

4. **Start ngrok**
   ```bash
   ngrok http 8881
   ```
   - Or use the port specified in the config file.

5. **Start the Application**
   ```bash
   npm start
   ```
   - The application will run on port `8881` or the port specified in the config file.

6. **Making Calls**
   Use the following `curl` command to make a call:
   ```bash
   curl -X POST http://<your-server-ip>:<8881 or port number>/make-call \
   -H "Content-Type: application/json" \
   -d '{"phoneNumber": "your-phone-number"}'
   ```

---
Replace `<repo-url>`, `<your-server-ip>`, and `<your-phone-number>` with your actual details.

This guide should help you set up and run the Apply Cup Voicebot smoothly.
