GithubHelp home page GithubHelp logo

jsr5048 / apex-chat-region Goto Github PK

View Code? Open in Web Editor NEW

This project forked from isabolic/apex-chat-region

0.0 1.0 0.0 1.02 MB

integratation demo of oracle apex and socket.io (node.js).

Home Page: https://dev.to/isabolic99/oracle-apex-chat-demo

License: MIT License

CSS 0.20% JavaScript 13.85% SQLPL 85.43% HTML 0.01% PLSQL 0.50%

apex-chat-region's Introduction

Oracle APEX Region Plugin - apexChat

Oracle APEX Region Plugin that allows users to quickly create chat region interaction.

Your support means a lot.

Donate

Install build version

pre requirements

from build directory:

  1. compile package AX_PLG_SOCKET_CHAT (pks and pkb) in your apex parsing schema.
  2. Import plugin file "region_type_plugin_apex_socket_chat_room.sql" from plugin directory into your application
  3. copy/move node.server directory into your prefered directory
  4. inside terminal navigate into copied node.server directory and run
    npm install
  5. inside node.server, copy or rename file config.json.org
    cd node.server
    cp config.json.org config.json
  6. then edit file config.json, there you set node.js port and server ip address or hostname
     {
       "options": {
         "port": "PORT",
         "server": "IP_ADD_OR_HOST"
       }
     }
  7. inside terminal navigate into copied node.server directory and run
    node chat.js &

Plugin Settings

How to

  1. Create a Region on your apex page
  • set Type: apexChat.io[Plug-in]
  • set socket server: http or https link to your node.js server (when you run command "node chat.js &" it will output server ip address or hostname with port. For example "Listening on playground, server_port 8080" then socket server link is http://playground:8080)
  • set Chat room item: apex item on page (or application item) in witch is stored chat room id
  • set Public chat: "Yes"/"No" - option witch defines how chat region behaves, if public all chat messages are visible to everyone, private when someone enter chatroom auto creates room and then generate link where you can send invitations for chat.

Demo Application

Apex chat

More info

The blog post for more technical detail can be found here.

apex-chat-region's People

Contributors

isabolic avatar

Watchers

James Cloos 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.