(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.
Cheems is built primarily on JavaScript. The following technologies were used to prepare the whole project:
-
Front-end
-
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.
Follow the steps below to run the project locally:
-
Download or clone the project.
-
Set up a MongoDB cluster.
-
Create a remote MongoDB cluster (read more).
-
Once a cluster is created, navigate to the Database Deployments section (see below).
-
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.
-
-
Navigate to the
backend
directory.-
Install all dependencies:
npm install
-
Create a copy of the
.env.template
file and rename the copy as.env
. -
Open the
.env
file. Paste the MongoDB cluster connection string (copied in step 2.3) as value of theMONGODB_URI
environment variable. -
Type any random string as value of the
JWT_SECRET
variable in the same file. Make sure to store this somewhere for future references. -
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.
-
-
Setup a Google Firebase project for the chat to work correctly.
-
Follow only Step 1 from this article to obtain your Firebase credentials.
-
Save the Firebase credentials for use in front-end setup.
-
-
Register your application on Microsoft Azure Portal for sign-in to work correctly.
-
Navigate to Microsoft Azure Portal and sign in.
-
Search App Services in the search bar on top of the page and open it.
-
Click on Create button. Follow through the steps to register your web application.
-
-
Navigate to the
frontend
directory.-
Install all dependencies:
npm install
-