Skip to content

cosmos-ummc/needle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Submissions

Link to the demonstration video

Link to the presentation slides

Link to the user manual

Link to the Psychologist / Staff / Admin Login Page

Link to The Users(Client) Login Page

Link to our humanized chat bot

Link to the DASS-21 Original Question Sets

Link to the IES-R Original Question Sets

Link to the Backend Main Service GitHub Repo

Link to the Client Website GitHub Repo

Link to the Admin Dashboard GitHub Repo

Link to the Backend Chat Service GitHub Repo

Link to the Telegram Chat Bot GitHub Repo

Instructions

This repository is for the chat backend services. There are several modules included:

  • User Personality and Similarity module.

This module implemented the recommendationRaccoon library. This library offers a filtering based recommendation engine that uses the Jaccard coefficient to determine the similarity between users and k-nearest-neighbors to identify users who have similar personalities.

  • Meeting module

This module implemented a proof of concept of the online meeting room. It used the WebRTC technology to connect two users from the SAME network to call each other.

  • Event emitters module

This module exposed several APIs for the backend main service to trigger chat events. This module uses Pusher API to manage the socket events.

Project Setup

  • To run the server, first, setup the Redis Server.

  • Install NodeJS version v12.14.1.

  • Create a Pusher application.

  • Next, clone the repository.

  • cd to the project directory and run npm install to install the dependencies.

  • add the environment variables as follows:

PUSHER_APP_ID=<Your pusher app id>
PUSHER_CLUSTER=<Your pusher cluster>
PUSHER_KEY=<Your pusher key>
PUSHER_SECRET=<Your pusher secret>
  • run npm start to start the service locally.