cch5ng / messenger_intl

Messenger copy with message translation
https://messenger-intl.herokuapp.com/
1 stars 1 forks source link
chat-application express google-translate-api jest material-ui mongodb mongoose nodejs react sendgrid socket-io supertest

Messenger Int'l

Purpose

This is a Messenger copy project with an additional message translation feature. It was originally developed together with one programming partner, Rajat Basali (check spelling). Later, the project was forked and I continued to add features and bug fixes.

Demo

The project is currently hosted at: https://messenger-intl.herokuapp.com/

These are the features:

(User) Run the App

These items require setup before you can use the app to chat.

Known Limitations

TODO

(Developer) Run the App

These are instructions to download and run the application locally.

Dependencies

There are 3rd party dependencies:

These files need to be copied and updated with credentials (like API keys for 3rd party libraries) before a local app can run. Please refer to the documentation from MongoDB, SendGrid, and Google for instructions on how to create developer accounts for those services.

/server/sample.env

This file needs to be copied and renamed as .env


/server/sample.translation-credentials.json

This file is a template for the Google API key. During account setup, there is a step where you download a private key file (json). Make a copy of this file, rename it as translation-credentials.json, and place it in the /server directory.

Install libraries

Clone this repository.

Install the server libraries.

cd server
npm install

Install the client libraries.

cd ../client
npm install

Startup

Start the app server

cd ../server
npm run dev

Start the client dev server

cd ../client
npm run start

Deployment

This app is currently deployed on Heroku. If you want to fork and run that app on Heroku, a number of environment variables need to be set (TODO).