Skip to content

myonaingwinn/laravel-twilio

Repository files navigation

Installation

  • Clone this repository git clone https://github.com/myonaingwinn/laravel-twilio.git.
  • Run composer install.
  • Run cd frontend && npm install.

Configuration

Backend

  • Run cp .env.example .env && php artisan key:generate.
  • Enter your twilio account info in that .env file.

Frontend

  • Run cd frontend && cp .env.example .env.
  • Enter Backend's BaseURL in that .env file. For example, REACT_APP_BASE_URL=http://localhost:8000/api/v1

Run

  • Frontend - cd frontend && npm start.
  • Backend - php artisan serve.