GithubHelp home page GithubHelp logo

dmahajan980 / ms-engage-2021 Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 0.0 757 KB

A communication platform built as a solution to the problem statement by Microsoft Engage 2021.

JavaScript 8.35% HTML 2.40% TypeScript 89.25%
ms-engage microsoft microsoft-teams microsoft-engage-2021 communication video-conferencing text-messaging chatroom

ms-engage-2021's Introduction

Cheems

(Documentation in Progress)

Cheems is a communication platform allowing the users to connect via video conferencing and text messaging. The project was built as a solution to the challenge described during Microsoft Engage 2021.

Tech Stack

Cheems is built primarily on JavaScript. The following technologies were used to prepare the whole project:

  1. Front-end

  2. Back-end

    • JavaScript
    • Node.js
    • MongoDB (for database)

A few helper libraries such as Socket.IO were used to deal with connection failures between server and client and between users. To maintain the code quality and standards, developer tools (linters, formatters, and parsers) such as Prettier and ESLint were set up in place.

Installation

Follow the steps below to run the project locally:

  1. Download or clone the project.

  2. Set up a MongoDB cluster.

    1. Create a remote MongoDB cluster (read more).

    2. Once a cluster is created, navigate to the Database Deployments section (see below).

      Database Deployments Section

    3. Click on Connect button on the right of your cluster name. This will open a new dialog window. Select Connect your application and copy the connection string.

  3. Navigate to the backend directory.

    1. Install all dependencies:

      npm install
    2. Create a copy of the .env.template file and rename the copy as .env.

    3. Open the .env file. Paste the MongoDB cluster connection string (copied in step 2.3) as value of the MONGODB_URI environment variable.

    4. Type any random string as value of the JWT_SECRET variable in the same file. Make sure to store this somewhere for future references.

    5. Set the port number on which the backend should run (by setting the value of PORT variable). Default port number is 9000.

      Important: Avoid port 3000 since app's front-end runs on the same port.

  4. Setup a Google Firebase project for the chat to work correctly.

    1. Follow only Step 1 from this article to obtain your Firebase credentials.

    2. Save the Firebase credentials for use in front-end setup.

  5. Register your application on Microsoft Azure Portal for sign-in to work correctly.

    1. Navigate to Microsoft Azure Portal and sign in.

    2. Search App Services in the search bar on top of the page and open it.

    3. Click on Create button. Follow through the steps to register your web application.

  1. Navigate to the frontend directory.

    1. Install all dependencies:

      npm install

ms-engage-2021's People

Contributors

dmahajan980 avatar

Stargazers

 avatar  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.