Skip to content

panteha/BabelChat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BabelChat

Instant multi-lingual messaging. It allows people to talk to each other in a variety of languages, each user experiencing the same conversation in their own language. Chatting BabelChat is built upon:

Architecture

Architecture of BabelChat

Installation Instructions

  • Install Node.js and npm.
  • Install MongoDB.
  • Retrieve the repository and install dependencies.
$ git clone [email protected]:panteha/BabelChat.git
$ cd BabelChat
$ npm install
$ export PATH=$PWD/node_modules/.bin:$PATH
$ export TRANSLATE_KEY=<GOOGLE TRANSLATE API KEY>
$ export DATABASE_DEVELOPMENT=mongodb://<username>:<password>@<hostname>:<port>/babelchat
$ export DATABASE_TEST=mongodb://<username>:<password>@<hostname>:<port>/babelchat-test
  • Build React frontend
$ webpack

Running the app locally

BabelChat

$ npm start

then visit http://localhost:3000/

Running tests

$ npm test

Heroku set up

To run on Heroku, the app requires a MongoDB to be hosted somewhere else. We have used mlab previously.

To set up the Google Translate API and MongoDB for Heroku

$ heroku config:set TRANSLATE_KEY=$TRANSLATE_KEY
$ heroku config:set DATABASE_DEVELOPMENT=mongodb://<username>:<password>@<hostname>.mlab.com:<port>/babelchat

Contributors

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published