Skip to content

Latest commit

 

History

History
 
 

README.md

BSA 2019 Thread project (frontend)

Technologies

Getting started

Install the following packages prior to standing up your development environment:

Prepare environment:

cp .env.example .env.local
yarn install

Configure your .env.local:

VUE_APP_API_URL=http://<host>:<port>/api/v1
VUE_APP_PUSHER_APP_KEY=<pusher-app-key>
VUE_APP_PUSHER_APP_CLUSTER=<pusher-app-cluster>
VUE_APP_PUSHER_APP_AUTH_ENDPOINT=http://<host>:<port>/broadcasting/auth

Replace <host> and <port> according to your backend URL. You should register an account and create an application on Pusher site to get <pusher-app-key> and <pusher-app-cluster> variables. These credentials also should be used on the backend.

After that application is ready. You can run it in development mode with yarn run serve or yarn run build to generate compiled and minified files.