Skip to content

A customer support app built using ChatKit, Symfony and Vue.js

Notifications You must be signed in to change notification settings

dongido001/live-customer-support

Repository files navigation

Build a live customer app with Chatkit, Symfony and Vue - Part 2: Building the app

This is a demo application showing how to build a live customer support application using Symfony, Chatkit and Vue. You can read the tutorial on how it was built here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Requirement

This application uses the following:

  • PHP version 7.1 or higher
  • Symfony version 4.1
  • Composer (You can get the latest version)
  • Vue.js version 2.x
  • Node.js version 8.9 or above
  • Yarn version 1.7.0 or higher
  • You also need a Chatkit account. Register an account if you don't have one already, otherwise log into your dashboard. Once, you are logged in, grab your CHATKIT_INSTANCE_LOCATOR and CHATKIT_KEY keys from the Credentials tab.

Setting up the project

  • Clone this repository to your local machine:
 $ git clone -b part-two https://github.com/dongido001/live-customer-support.git
  • Update the following keys in the .env file with your correct Pusher keys:
  CHATKIT_INSTANCE_LOCATOR=YOUR_CHATKIT_INSTANCE_LOCATOR
  CHATKIT_KEY=YOUR_CHATKIT_SECRET_KEY

Make sure to replace YOUR_CHATKIT_INSTANCE_LOCATOR and YOUR_CHATKIT_SECRET_KEY placeholders with their actual values.

  • Update the Instance Location key in config.js

      export default {
          instanceLocator: 'YOUR_CHATKIT_INSTANCE_LOCATOR',
      }
    
  • Install the frontend packages:

     yarn install
    
  • Start the frontend server:

        yarn encore dev-server --hot
    
  • Install backend packages

    composer install
    
  • Open a new terminal and start up the Backend server:

      php -S localhost:9030 -t public
    
    

You can now access the application from http://localhost:9030

Built With

  • Symfony - Modern PHP framework
  • Chatkit - EXTENSIBLE API TO FORM BUILDING IN-APP MESSAGING.
  • Vue - Front-end framework for building user interfaces.

About

A customer support app built using ChatKit, Symfony and Vue.js

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published