Giter Club home page Giter Club logo

live-customer-support's Introduction

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.

live-customer-support's People

Contributors

dongido001 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.