- Clone this repository
git clone https://github.com/myonaingwinn/laravel-twilio.git
. - Run
composer install
. - Run
cd frontend && npm install
.
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
- Frontend -
cd frontend && npm start
. - Backend -
php artisan serve
.