Giter Club home page Giter Club logo

portal-chat-api's Introduction


Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. License

About The Project

Portal Chat is a chat application that improves the overall chat experience by removing language constraints. Portal Chat provides real-time language translation so users can send and receive messages in their language of choice.

You can view the demo here

You can try the live application here Live site

Built With

Getting Started

To run the application locally, please follow the steps below.

Prerequisites

Setup

  1. Clone the repo.
  2. Create a free Azure Account here or use an existing one.
  3. Create a free Azure Cognitive Service Translator service. Follow the steps here.
  4. Create an Azure SignalR Service. Follow the steps here.
  5. Download and install Visual Studio Code from Visual Studio Code or Visual Studio 2019 from Visual Studio.
  6. Open project using your Visual Studio 2019 or Visual Studio Code.
  7. Update local.setting.json with the following, if local.setting.json is missing create one and add the json content below and update wih your credentials.
{
  "IsEncrypted": false,
  "Values": {
    "AzureWebJobsStorage": "UseDevelopmentStorage=true",
    "FUNCTIONS_WORKER_RUNTIME": "dotnet",
    "AzureSignalRConnectionString": "<add your azure signalr service connection string here>",
    "AzureTranslator": "<add your translator endpoint here>",
    "TranslatorSubKey": "<add your translator subscription key here>",
    "ResourceLocation": "<add your translator service resource location in azure here>"
  },
  "Host": {
    "LocalHttpPort": 7071,
    "CORS": "<add base url of client app>",
    "CORSCredentials": true
  }`
}

Running from Visual Studio Code

  1. Install Azure Function core tools. Follow the steps here to install the right tools for your device Azure Function Core Tools.

  2. Run Azure Function locally.

func start

Running from Visual Studio

  1. From Visual Studio, press F5

Usage

Please refer to the demo

License

Distributed under the MIT License. See LICENSE for more information.

portal-chat-api's People

Contributors

peterasamoah7 avatar

Watchers

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