Giter VIP home page Giter VIP logo

catalyn45 / resc Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 9.64 MB

This project represents a platform that can be used by the companies to offer customer support to their clients. The goal of the project is to understand better the concepts behind front-end and back-end side of web programming and it's not for commercial use.

CSS 10.57% HTML 27.35% JavaScript 19.22% Python 0.89% PHP 39.00% Hack 2.97% Batchfile 0.01%
chat websocket php apache2 javascript

resc's Introduction

Rsc

About

This project represents a platform that can be used by the companies to offer customer support to their clients. The goal of the project is to understand better the concepts behind front-end and back-end side of web programming and it's not for commercial use.

Dependencies

Note: The dependencies need to be installed using Composer.

Requirements

Building

For the project to run correctly you need to do the following steps:

  1. Set the DocumentRoot of the apache server to the root of the repository

  2. Configure your apache server to run over ssl (see here).

  3. Go to the project root and use the composer update command to install all of the dependencies and composer dump-autoload to generate the autoload file.

  4. Enable the php_pgsql extension in case you didn't already do it.

  5. Enable the mod_proxy, mod_proxy_httpand mod_proxy_wstunnel extensions (see here).

  6. Write the following lines in your apache configuration file, right after the DocumentRoot field :

    ProxyPass /wss ws://localhost:8081/
    ProxyPassReverse /wss ws://localhost:8081/
    
  7. Create a Postgresql database named Resc and import the schema from the resc_db.sql file from the root of the project.

  8. Change the database credentials from application/app/Database.php and application/app/Mail.php with your own credentials.

Running

If you builded the application correctly, you should start the apache server and try to access https://localhost/ and the website should load. The default credentials for the login section are :

username: admin
password: 1234

You can try out the chat by opening 2 tabs. In one tab you should connect with the previous credentials and go to the chat section, and in the second tab you should click the try a demo button. In the logged tab, you can click get a client and you can start a conversation with yourself.

If you want to use the application like an endpoint, you can call the api functions and connect to the wss server with a separate app and connect it to your own CRM ( you can find more details, along with the documentation in the documentation.html file from the root of the project or click here or you can watch the presentation video here).

Contributors

resc's People

Contributors

catalyn45 avatar andreeacondurache99 avatar cancutei avatar

Watchers

Alexandru Pavaloi 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.